Restore sys.path after test_register_decorator
Issue detected by pyflake, the original sys.path was never restoredpull/2185/head
parent
fbcf731556
commit
44c0a0e430
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue