File tree Expand file tree Collapse file tree 1 file changed +1
-9
lines changed
services/director-v2/tests/unit Expand file tree Collapse file tree 1 file changed +1
-9
lines changed Original file line number Diff line number Diff line change 11# pylint: disable=redefined-outer-name
22# pylint: disable=unused-argument
33
4- from collections .abc import AsyncIterable
5-
64import pytest
75from aiodocker import Docker , DockerError
86from faker import Faker
@@ -39,12 +37,6 @@ def mock_env(
3937 monkeypatch .setenv ("S3_BUCKET_NAME" , faker .pystr ())
4038
4139
42- @pytest .fixture
43- async def async_docker_client () -> AsyncIterable [Docker ]:
44- async with Docker () as client :
45- yield client
46-
47-
4840@pytest .mark .parametrize (
4941 "network_name, network" ,
5042 [
@@ -65,7 +57,7 @@ async def async_docker_client() -> AsyncIterable[Docker]:
6557 ),
6658 ],
6759)
68- async def test_routes_are_protected (
60+ async def test_network_creation_workflow (
6961 docker_swarm : None ,
7062 client : TestClient ,
7163 async_docker_client : Docker ,
You can’t perform that action at this time.
0 commit comments