From 5463325f6796d31292b0f39577139e184cae177f Mon Sep 17 00:00:00 2001 From: r_sanchez Date: Wed, 15 Nov 2023 13:41:10 -0500 Subject: [PATCH] Replace jenkins user to cerc for the env file so that it can find it on the machine --- cerc_persistence.egg-info/.gitignore | 3 --- cerc_persistence/version.py | 2 +- tests/test_db_factory.py | 2 +- 3 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 cerc_persistence.egg-info/.gitignore diff --git a/cerc_persistence.egg-info/.gitignore b/cerc_persistence.egg-info/.gitignore deleted file mode 100644 index e0a497a..0000000 --- a/cerc_persistence.egg-info/.gitignore +++ /dev/null @@ -1,3 +0,0 @@ -# Except this file -* -!.gitignore \ No newline at end of file diff --git a/cerc_persistence/version.py b/cerc_persistence/version.py index 3eee18b..21f3b91 100644 --- a/cerc_persistence/version.py +++ b/cerc_persistence/version.py @@ -1,4 +1,4 @@ """ CERC Persistence version number """ -__version__ = '0.1.0.1' +__version__ = '0.1.0.2' diff --git a/tests/test_db_factory.py b/tests/test_db_factory.py index a89295a..be2e4a4 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('~'))).resolve() + dotenv_path = Path("{}/.local/etc/hub/.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}'