Skip to content

Commit

Permalink
Update test_universal_registry.py
Browse files Browse the repository at this point in the history
  • Loading branch information
stanconia authored Jul 2, 2024
1 parent a8513f8 commit e3b9483
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def minio_registry() -> Registry:
logger = logging.getLogger(__name__)


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def pg_registry():
container = (
DockerContainer("postgres:latest")
Expand All @@ -144,7 +144,7 @@ def pg_registry():
container.stop()


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def pg_registry_async():
container = (
DockerContainer("postgres:latest")
Expand Down Expand Up @@ -188,7 +188,7 @@ def _given_registry_config_for_pg_sql(
)


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def mysql_registry():
container = MySqlContainer("mysql:latest")
container.start()
Expand All @@ -200,7 +200,7 @@ def mysql_registry():
container.stop()


@pytest.fixture(scope="session")
@pytest.fixture(scope="function")
def mysql_registry_async():
container = MySqlContainer("mysql:latest")
container.start()
Expand Down

0 comments on commit e3b9483

Please sign in to comment.