diff --git a/tests/congure_test/tests/01-run.py b/tests/congure_test/tests/01-run.py index 5fc8ef0901..677606cf2d 100755 --- a/tests/congure_test/tests/01-run.py +++ b/tests/congure_test/tests/01-run.py @@ -24,10 +24,10 @@ class TestCongUREBase(unittest.TestCase): @classmethod def setUpClass(cls): cls.ctrl = RIOTCtrl() + cls.ctrl.reset() cls.ctrl.start_term() if cls.DEBUG: cls.ctrl.term.logfile = sys.stdout - cls.ctrl.reset() cls.shell = ShellInteraction(cls.ctrl) cls.json_parser = RapidJSONShellInteractionParser() cls.json_parser.set_parser_args( diff --git a/tests/turo/tests/01-run.py b/tests/turo/tests/01-run.py index 1476f58570..2d8ed0bcec 100755 --- a/tests/turo/tests/01-run.py +++ b/tests/turo/tests/01-run.py @@ -21,10 +21,10 @@ class TestTuroBase(unittest.TestCase): @classmethod def setUpClass(cls): cls.ctrl = RIOTCtrl() + cls.ctrl.reset() cls.ctrl.start_term() if cls.DEBUG: cls.ctrl.term.logfile = sys.stdout - cls.ctrl.reset() cls.shell = ShellInteraction(cls.ctrl) cls.json_parser = RapidJSONShellInteractionParser() cls.logger = logging.getLogger(cls.__name__)