Skip to content

Commit

Permalink
Update test_universal_registry.py
Browse files Browse the repository at this point in the history
Signed-off-by: Stanley Opara <a-sopara@expediagroup.com>
  • Loading branch information
stanconia authored and Stanley Opara committed Jul 2, 2024
1 parent a8513f8 commit 8798696
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 8798696

Please sign in to comment.