Fixed enterprise tests
This commit is contained in:
parent
e7ef4255db
commit
2f5fadf5a3
|
@ -13,14 +13,14 @@ def get_test_file(test_list):
|
||||||
a = TestLoader()
|
a = TestLoader()
|
||||||
tests = a.discover(start_dir='console',pattern='PAN*.py')
|
tests = a.discover(start_dir='console',pattern='PAN*.py')
|
||||||
|
|
||||||
|
c = ArticaTestResult()
|
||||||
|
tests.run(c)
|
||||||
|
|
||||||
#Run Enterprise tests
|
#Run Enterprise tests
|
||||||
is_enterprise = '1' == getenv('ENTERPRISE', False)
|
is_enterprise = '1' == getenv('ENTERPRISE', False)
|
||||||
if is_enterprise:
|
if is_enterprise:
|
||||||
enterprise_tests = a.discover(start_dir='console/enterprise',pattern='PAN*.py')
|
enterprise_tests = a.discover(start_dir='console/enterprise',pattern='PAN*.py')
|
||||||
|
enterprise_tests.run(c)
|
||||||
c = ArticaTestResult()
|
|
||||||
tests.run(c)
|
|
||||||
enterprise_tests.run(c)
|
|
||||||
|
|
||||||
#Update Saouce Labs jobs
|
#Update Saouce Labs jobs
|
||||||
sauce_client = SauceClient(environ["SAUCE_USERNAME"], environ["SAUCE_ACCESS_KEY"])
|
sauce_client = SauceClient(environ["SAUCE_USERNAME"], environ["SAUCE_ACCESS_KEY"])
|
||||||
|
|
Loading…
Reference in New Issue