tests: allow the absence of WCSCTL (#18863)

This commit is contained in:
Thomas NOËL 2017-09-21 01:24:48 +02:00
parent cc5ed49bee
commit b1c045204f
1 changed files with 1 additions and 1 deletions

View File

@ -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': """