diff --git a/shared/repositories/tests/integration/conftest.py b/shared/repositories/tests/integration/conftest.py index a34243d..10d88a6 100644 --- a/shared/repositories/tests/integration/conftest.py +++ b/shared/repositories/tests/integration/conftest.py @@ -209,6 +209,11 @@ def image_repo( populate_env, ) -> Iterator[ImageRepository]: """Image repository fixture.""" + # define test environment variables + assert 'MINIO_ENDPOINT' in os.environ, 'MINIO_ENDPOINT not set' + assert 'MINIO_ACCESS_KEY' in os.environ, 'MINIO_ACCESS_KEY not set' + assert 'MINIO_SECRET_KEY' in os.environ, 'MINIO_SECRET_KEY not set' + assert 'MONGO_ENDPOINT' in os.environ, 'MONGO_ENDPOINT not set' repo = ImageRepository() repo.connect() yield repo