mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
Merge pull request #16564 from fjmolinas/pr_fix_turo_congure
tests/congure-turo: reset before opening terminal
This commit is contained in:
commit
4d6d46534d
@ -24,10 +24,10 @@ class TestCongUREBase(unittest.TestCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.ctrl = RIOTCtrl()
|
cls.ctrl = RIOTCtrl()
|
||||||
|
cls.ctrl.reset()
|
||||||
cls.ctrl.start_term()
|
cls.ctrl.start_term()
|
||||||
if cls.DEBUG:
|
if cls.DEBUG:
|
||||||
cls.ctrl.term.logfile = sys.stdout
|
cls.ctrl.term.logfile = sys.stdout
|
||||||
cls.ctrl.reset()
|
|
||||||
cls.shell = ShellInteraction(cls.ctrl)
|
cls.shell = ShellInteraction(cls.ctrl)
|
||||||
cls.json_parser = RapidJSONShellInteractionParser()
|
cls.json_parser = RapidJSONShellInteractionParser()
|
||||||
cls.json_parser.set_parser_args(
|
cls.json_parser.set_parser_args(
|
||||||
|
@ -21,10 +21,10 @@ class TestTuroBase(unittest.TestCase):
|
|||||||
@classmethod
|
@classmethod
|
||||||
def setUpClass(cls):
|
def setUpClass(cls):
|
||||||
cls.ctrl = RIOTCtrl()
|
cls.ctrl = RIOTCtrl()
|
||||||
|
cls.ctrl.reset()
|
||||||
cls.ctrl.start_term()
|
cls.ctrl.start_term()
|
||||||
if cls.DEBUG:
|
if cls.DEBUG:
|
||||||
cls.ctrl.term.logfile = sys.stdout
|
cls.ctrl.term.logfile = sys.stdout
|
||||||
cls.ctrl.reset()
|
|
||||||
cls.shell = ShellInteraction(cls.ctrl)
|
cls.shell = ShellInteraction(cls.ctrl)
|
||||||
cls.json_parser = RapidJSONShellInteractionParser()
|
cls.json_parser = RapidJSONShellInteractionParser()
|
||||||
cls.logger = logging.getLogger(cls.__name__)
|
cls.logger = logging.getLogger(cls.__name__)
|
||||||
|
Loading…
Reference in New Issue
Block a user