diff --git a/test/integrationtests/skills/single_test.py b/test/integrationtests/skills/single_test.py index 4cfcabc503..7130c3fc4c 100644 --- a/test/integrationtests/skills/single_test.py +++ b/test/integrationtests/skills/single_test.py @@ -81,7 +81,6 @@ class IntentTestSequenceMeta(type): return test_env_test else: return test - tests, test_envs = discover_tests() for skill in tests.keys(): skill_name = os.path.basename(skill) # Path of the skill @@ -97,10 +96,9 @@ class IntentTestSequenceMeta(type): return type.__new__(mcs, name, bases, d) -class IntentTestSequence(unittest.TestCase): +class IntentTestSequence(unittest.TestCase, metaclass=IntentTestSequenceMeta): """This is the TestCase class that pythons unit tester can execute. """ - __metaclass__ = IntentTestSequenceMeta loader = None @classmethod