Added Enterprise test capabilities

This commit is contained in:
axl89 2016-07-19 16:29:10 +02:00
parent 4262956711
commit 59c3d21a2b
1 changed files with 2 additions and 1 deletions

View File

@ -16,10 +16,11 @@ tests = a.discover(start_dir='console',pattern='PAN*.py')
#Run Enterprise tests
is_enterprise = '1' == getenv('ENTERPRISE', False)
if is_enterprise:
tests = tests.addTests(a.discover(start_dir='console/enterprise',pattern='PAN*.py'))
enterprise_tests = a.discover(start_dir='console/enterprise',pattern='PAN*.py')
c = ArticaTestResult()
tests.run(c)
enterprise_tests.run(c)
#Update Saouce Labs jobs
sauce_client = SauceClient(environ["SAUCE_USERNAME"], environ["SAUCE_ACCESS_KEY"])