Commit graph

7 commits

Author SHA1 Message Date
lilydjwg
6f48b774ae tests: add a needs_net mark for tests that require Internet access
use pytest-httpbin for test_regex

closes #113
2019-10-15 17:27:34 +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
ddfc569ba3 tests: remove more f-strings 2018-05-08 19:44:48 +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