tests: allow the absence of WCSCTL (#18863)
This commit is contained in:
parent
cc5ed49bee
commit
b1c045204f
|
@ -27,7 +27,7 @@ wcsctl_present = pytest.mark.skipif('WCSCTL' not in os.environ,
|
|||
reason='WCSCTL not defined in environment')
|
||||
|
||||
WCSCTL = os.environ.get('WCSCTL')
|
||||
WCS_MANAGE = os.path.join(os.path.dirname(WCSCTL), 'manage.py')
|
||||
WCS_MANAGE = os.path.join(os.path.dirname(WCSCTL), 'manage.py') if WCSCTL else None
|
||||
|
||||
WCS_SCRIPTS = {
|
||||
'setup-auth': """
|
||||
|
|
Loading…
Reference in New Issue