From 9dac6fc1add70f09e8329487b4ab11ed1935dba2 Mon Sep 17 00:00:00 2001 From: jameshod5 Date: Mon, 13 May 2024 09:09:16 +0100 Subject: [PATCH] change of host name to test git ci --- tests/test_mock_db.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_mock_db.py b/tests/test_mock_db.py index 00cdbf7..60225ea 100644 --- a/tests/test_mock_db.py +++ b/tests/test_mock_db.py @@ -13,7 +13,7 @@ ) from data_creation_for_test import create_cpf_summary, create_scenarios, create_shots, create_signals, create_sources, create_shot_source_links # Set up the database URL -host = os.environ.get("DATABASE_HOST", "localhost") +host = os.environ.get("DATABASE_HOST", "127.0.0.1") SQLALCHEMY_DATABASE_TEST_URL = f"postgresql://root:root@{host}:5432/test_db" # Fixture to create and drop the database