Enterprise tests not run now count as 'skipped' instead of 'success'

(cherry picked from commit 139fb60d84)
This commit is contained in:
axl89 2016-08-16 18:42:55 +02:00
parent d0b32d8eb0
commit 97bc93d563
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@ from selenium.webdriver.support import expected_conditions as EC
import random, time
import string
import unittest
def is_enterprise(func):
u"""
@ -20,6 +21,8 @@ def is_enterprise(func):
if is_enterprise:
return func(*args,**kwargs)
else:
raise unittest.SkipTest("Skipping test")
return inner