tests: httpbin seems to be overloaded, disabled temporarily
This commit is contained in:
parent
9273f30036
commit
ded2bcd8c5
|
@ -4,9 +4,17 @@
|
||||||
import pytest
|
import pytest
|
||||||
pytestmark = pytest.mark.asyncio
|
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", {
|
assert await get_version("example", {
|
||||||
"url": "https://httpbin.org/get",
|
"url": "https://httpbin.org/get",
|
||||||
"regex": '"User-Agent": "(\w+)"',
|
"regex": '"User-Agent": "(\w+)"',
|
||||||
"user_agent": "Meow",
|
"user_agent": "Meow",
|
||||||
}) == "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