Restore sys.path after test_register_decorator

Issue detected by pyflake, the original sys.path was never restored
pull/2185/head
Åke Forslund 2019-07-03 08:57:38 +02:00
parent fbcf731556
commit 44c0a0e430
1 changed files with 2 additions and 0 deletions

View File

@ -365,6 +365,8 @@ class MycroftSkillTest(unittest.TestCase):
'name': str(s.skill_id) + ':test.intent'}]
self.check_register_decorators(expected)
# Restore sys.path
sys.path = path_orig
def test_failing_set_context(self):
s = SimpleSkill1()