From 139fb60d840313408979af50710d8448805d38e1 Mon Sep 17 00:00:00 2001 From: axl89 Date: Tue, 16 Aug 2016 18:42:55 +0200 Subject: [PATCH] Enterprise tests not run now count as 'skipped' instead of 'success' --- tests/console/include/common_functions_60.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/console/include/common_functions_60.py b/tests/console/include/common_functions_60.py index 08f6b15c72..efe54839e3 100644 --- a/tests/console/include/common_functions_60.py +++ b/tests/console/include/common_functions_60.py @@ -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