Skip to content
This repository has been archived by the owner on Jan 19, 2018. It is now read-only.

Commit

Permalink
Added default value for nulecule library path for functional tests.
Browse files Browse the repository at this point in the history
The default value is assumed to be a directory named 'nulecule-library'
adjacent to the 'atomicapp' directory.
  • Loading branch information
rtnpro committed Aug 29, 2016
1 parent 778cc3b commit e9c0731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/system/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit e9c0731

Please sign in to comment.