diff --git a/tests/test_db_factory.py b/tests/test_db_factory.py index be2e4a4..cba6421 100644 --- a/tests/test_db_factory.py +++ b/tests/test_db_factory.py @@ -46,7 +46,7 @@ class Control: """ self._skip_test = False # Create test database - dotenv_path = Path("{}/.local/etc/hub/.env".format(os.path.expanduser('~').replace('jenkins', 'cerc'))).resolve() + dotenv_path = Path("{}/.local/etc/hub_api/.env".format(os.path.expanduser('~').replace('jenkins', 'cerc'))).resolve() if not dotenv_path.exists(): self._skip_test = True self._skip_reason = f'.env file missing at {dotenv_path}'