tests: example.net certificate has expired, use http instead

This commit is contained in:
lilydjwg 2018-11-29 13:31:08 +08:00
parent c1e5822f07
commit 5af558d214
1 changed files with 2 additions and 2 deletions

View File

@ -15,13 +15,13 @@ async def test_regex_httpbin(get_version):
async def test_regex(get_version):
assert await get_version("example", {
"url": "https://example.net/",
"url": "http://example.net/",
"regex": 'for (\w+) examples',
}) == "illustrative"
async def test_missing_ok(get_version, raise_on_logger_msg):
assert await get_version("example", {
"url": "https://example.net/",
"url": "http://example.net/",
"regex": "foobar",
"missing_ok": True,
}) is None