Revert "tests: restrict network to repology.org only"
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
It would allow network access even in "--block-network" mode.
This reverts commit 671c311c21
.
This commit is contained in:
parent
538de88169
commit
51007e1036
|
@ -4,7 +4,6 @@
|
|||
from collections.abc import AsyncGenerator
|
||||
|
||||
import aiohttp
|
||||
import pytest
|
||||
import pytest_asyncio
|
||||
|
||||
|
||||
|
@ -16,8 +15,3 @@ async def session() -> AsyncGenerator[aiohttp.ClientSession, None]:
|
|||
yield test_session
|
||||
finally:
|
||||
await test_session.close()
|
||||
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
def vcr_config():
|
||||
return {"allowed_hosts": [r"repology\.org"]}
|
||||
|
|
Loading…
Reference in New Issue