Changed env file path
This commit is contained in:
parent
5463325f67
commit
60e1686421
|
@ -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}'
|
||||
|
|
Loading…
Reference in New Issue
Block a user