Fixed enterprise tests

This commit is contained in:
cesar991 2016-07-19 17:01:27 +02:00
parent e7ef4255db
commit 2f5fadf5a3
1 changed files with 4 additions and 4 deletions

View File

@ -13,13 +13,13 @@ def get_test_file(test_list):
a = TestLoader()
tests = a.discover(start_dir='console',pattern='PAN*.py')
c = ArticaTestResult()
tests.run(c)
#Run Enterprise tests
is_enterprise = '1' == getenv('ENTERPRISE', False)
if is_enterprise:
enterprise_tests = a.discover(start_dir='console/enterprise',pattern='PAN*.py')
c = ArticaTestResult()
tests.run(c)
enterprise_tests.run(c)
#Update Saouce Labs jobs