Fixed enterprise tests
This commit is contained in:
parent
e7ef4255db
commit
2f5fadf5a3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue