Skip to content

Commit

Permalink
Update conftest.py
Browse files Browse the repository at this point in the history
  • Loading branch information
anismoula123 authored Aug 23, 2023
1 parent eb81363 commit 41a1108
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/recommendation/api/src/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def create_iris_france(engine, connection):
@pytest.fixture
def setup_database(app_config: Dict[str, Any]) -> Any:
engine = create_engine(
f"postgresql+psycopg2://postgres:postgres@127.0.0.1:{DATA_GCP_TEST_POSTGRES_PORT}/{DB_NAME}"
f"postgresql+psycopg2://postgres:postgres@postgres:{DATA_GCP_TEST_POSTGRES_PORT}/{DB_NAME}"
)
connection = engine.connect().execution_options(autocommit=True)

Expand Down

0 comments on commit 41a1108

Please sign in to comment.