Skip to content

Commit 8798696

Browse files
stanconiaStanley Opara
authored andcommitted
Update test_universal_registry.py
Signed-off-by: Stanley Opara <a-sopara@expediagroup.com>
1 parent a8513f8 commit 8798696

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sdk/python/tests/integration/registration/test_universal_registry.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ def minio_registry() -> Registry:
125125
logger = logging.getLogger(__name__)
126126

127127

128-
@pytest.fixture(scope="session")
128+
@pytest.fixture(scope="function")
129129
def pg_registry():
130130
container = (
131131
DockerContainer("postgres:latest")
@@ -144,7 +144,7 @@ def pg_registry():
144144
container.stop()
145145

146146

147-
@pytest.fixture(scope="session")
147+
@pytest.fixture(scope="function")
148148
def pg_registry_async():
149149
container = (
150150
DockerContainer("postgres:latest")
@@ -188,7 +188,7 @@ def _given_registry_config_for_pg_sql(
188188
)
189189

190190

191-
@pytest.fixture(scope="session")
191+
@pytest.fixture(scope="function")
192192
def mysql_registry():
193193
container = MySqlContainer("mysql:latest")
194194
container.start()
@@ -200,7 +200,7 @@ def mysql_registry():
200200
container.stop()
201201

202202

203-
@pytest.fixture(scope="session")
203+
@pytest.fixture(scope="function")
204204
def mysql_registry_async():
205205
container = MySqlContainer("mysql:latest")
206206
container.start()

0 commit comments

Comments
 (0)