mirror of
https://github.com/lilydjwg/nvchecker.git
synced 2025-03-10 06:14:02 +00:00
tests: example.net certificate has expired, use http instead
This commit is contained in:
parent
c1e5822f07
commit
5af558d214
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue