Changed env file path

This commit is contained in:
Ruben Sanchez 2023-11-15 14:09:45 -05:00
parent 5463325f67
commit 60e1686421

View File

@ -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}'