lilydjwg
eb75dc8305
Revert "tests: disable bitbucket tests because Travis-CI chooses the obsolete TLS 1.0 protocol"
...
This reverts commit 1da0e785db
.
Trying other methods...
2018-12-05 16:38:45 +08:00
lilydjwg
1da0e785db
tests: disable bitbucket tests because Travis-CI chooses the obsolete TLS 1.0 protocol
2018-12-05 16:34:57 +08:00
lilydjwg
5af558d214
tests: example.net certificate has expired, use http instead
2018-11-29 13:31:08 +08:00
lilydjwg
d0ee359209
update tests and bump version to dev
2018-11-19 15:16:29 +08:00
lilydjwg
64703e8b2d
tests: add test_cache
2018-10-10 17:35:18 +08:00
lilydjwg
e2fb91d3fb
tests: fix clear_cache arg
2018-10-10 17:22:02 +08:00
lilydjwg
10e3478b12
fix test_keyfile
...
keyfile is not part of cache keys so the expectations are wrong.
We don't make it part of cache keys because we don't expect keyfile to
affect the version as long as we can get it.
2018-10-10 17:17:02 +08:00
lilydjwg
26eaef92aa
handle deprecated warning, reindent conftest.py
2018-10-10 17:08:28 +08:00
lilydjwg
903b414183
cache result during a run
...
so that different entries can refer to a same software without much overhead.
This is needed because entries may be generated, and only nvchecker can
tell if two entries are expecting the same result because the name may
or may not be relevant.
Closes #81 .
2018-10-10 17:03:20 +08:00
Jingbei Li
ddbe30db8c
added use_last_modified for aur
2018-09-30 17:42:42 +08:00
lilydjwg
60afa62d89
Revert "cache get_version results".
...
Some sources will use the name.
This reverts commits aabf9f5037
and f75a156d46
.
2018-09-22 13:36:13 +08:00
lilydjwg
aabf9f5037
cache get_version results
...
closes #81
2018-09-22 13:12:25 +08:00
Chih-Hsuan Yen
e6d0449bc4
Fix tests
2018-09-21 12:18:21 +08:00
Chih-Hsuan Yen
1d16726c90
Add missing_ok
, which suppresses no-result warnings
2018-09-21 12:17:21 +08:00
Chih-Hsuan Yen
6afa9a551a
Fix test_anitya
2018-07-22 21:08:00 +08:00
Xuanwo
c9f2fcdb62
tests: Add local test for over limit check
...
Signed-off-by: Xuanwo <xuanwo.cn@gmail.com>
2018-06-10 21:24:33 +08:00
lilydjwg
c1c531d707
debian API becomes flaky recently
2018-05-15 22:37:39 +08:00
lilydjwg
a31470df0b
tests: aur: try harder
2018-05-08 19:59:57 +08:00
lilydjwg
ddfc569ba3
tests: remove more f-strings
2018-05-08 19:44:48 +08:00
lilydjwg
960f76e333
tests: fix test_proxy
2018-05-08 19:41:11 +08:00
lilydjwg
ded2bcd8c5
tests: httpbin seems to be overloaded, disabled temporarily
2018-05-08 19:27:45 +08:00
lilydjwg
9273f30036
remove usage of f-strings, Python 3.5 is still supported
2018-05-08 19:27:28 +08:00
lilydjwg
3da3e356fa
github: give an explicit error message when rate limited
...
also update tests.
2018-05-08 19:15:36 +08:00
lilydjwg
6c15ee8517
expose HTTPError, and raise it if status >= 400 for aiohttp
2018-05-08 18:34:32 +08:00
lilydjwg
6fcf5869ad
add test_keyfile
2018-05-08 18:18:10 +08:00
lilydjwg
2e4f2bc424
test: test github use_max_tag with paging and include_tags_pattern
2018-05-04 11:46:40 +08:00
lilydjwg
a8f8a41c46
update tests
2018-04-14 00:01:57 +08:00
lilydjwg
ac1e248aac
update tests
2018-04-09 14:07:19 +08:00
lilydjwg
b24f4ae5fe
try five times for AUR tests
2018-02-07 22:05:14 +08:00
lilydjwg
1be7b57ea0
update ubuntupkg test
2018-02-07 21:56:45 +08:00
lilydjwg
ee1b8267d0
fix github tests
2018-02-07 21:42:10 +08:00
lilydjwg
c150b77b61
github: don't use master as default branch
2018-02-07 18:54:09 +08:00
lilydjwg
7133ffc1a0
[test] yield_fixture is deprecated
2018-01-23 15:39:59 +08:00
lilydjwg
75873b5281
update test_aur
2017-11-05 16:41:06 +08:00
Yen Chi Hsuan
5df11f7b1a
Improve android_sdk version extractor
...
* Add README
* Update author info
* Cache repo manifests
2017-11-05 01:29:12 +08:00
Yen Chi Hsuan
bb3fa58481
Add tests for Android SDK packages
2017-10-29 22:57:59 +08:00
Yen Chi Hsuan
05b604530c
Refine docs of substitution options and add a test for option priority
2017-10-12 22:48:06 +08:00
Yen Chi Hsuan
ffa6eb7b8f
Add documents and tests for substitution commands
2017-10-11 01:50:44 +08:00
lilydjwg
f3653c79c8
update tests (3rd time)
2017-08-30 17:53:25 +08:00
lilydjwg
fd5879a4a2
update tests again
2017-08-30 17:36:55 +08:00
lilydjwg
fcd38b0bf7
update tests
2017-08-30 17:34:05 +08:00
lilydjwg
2d2f7149aa
add Anitya support
2017-07-25 15:27:49 +08:00
lilydjwg
189847ffdc
Revert "make AUR tests more flaky"
...
This reverts commit 61df628bd8
.
It doesn't help :-(
2017-07-08 16:15:17 +08:00
lilydjwg
61df628bd8
make AUR tests more flaky
2017-07-08 16:11:16 +08:00
lilydjwg
1bb14397ed
no need to return name now; we track this on the futures
2017-07-08 15:59:54 +08:00
lilydjwg
f0f841db71
fix test_proxy skipping logic
2017-07-08 15:48:43 +08:00
lilydjwg
7c534aec18
fix tests
2017-07-08 14:59:14 +08:00
lilydjwg
85cad99662
tests for both tornado and aiohttp
2017-07-08 14:55:34 +08:00
Felix Yan
028cf52b2d
Mark ubuntupkg tests as flaky
2017-07-06 13:31:24 +08:00
Felix Yan
9085dceeb3
Add ubuntupkg source
2017-07-06 13:27:44 +08:00