diff --git a/tests/system/base.py b/tests/system/base.py index 2f0cb06d..ddd5ded3 100644 --- a/tests/system/base.py +++ b/tests/system/base.py @@ -79,7 +79,8 @@ def get_tmp_answers_file(self, answers): @property def nulecule_lib(self): - return os.environ['NULECULE_LIB'] + return os.environ.get('NULECULE_LIB') or \ + os.path.join(os.path.dirname(__file__), '../../../nulecule-library') @classmethod def disable_selinux(cls):