tests: httpbin seems to be overloaded, disabled temporarily
This commit is contained in:
parent
9273f30036
commit
ded2bcd8c5
|
@ -4,9 +4,17 @@
|
|||
import pytest
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
async def test_regex(get_version):
|
||||
@pytest.mark.skipif(True,
|
||||
reason='httpbin is overloaded?')
|
||||
async def test_regex_httpbin(get_version):
|
||||
assert await get_version("example", {
|
||||
"url": "https://httpbin.org/get",
|
||||
"regex": '"User-Agent": "(\w+)"',
|
||||
"user_agent": "Meow",
|
||||
}) == "Meow"
|
||||
|
||||
async def test_regex(get_version):
|
||||
assert await get_version("example", {
|
||||
"url": "https://example.net/",
|
||||
"regex": 'for (\w+) examples',
|
||||
}) == "illustrative"
|
||||
|
|
Loading…
Reference in New Issue