mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
riotctrl_shell.tests: add missing method to MockSpawn
This commit is contained in:
parent
12801cb3c1
commit
70aac82e6b
@ -15,6 +15,10 @@ class MockSpawn():
|
||||
self.before = None
|
||||
self.echo = False
|
||||
|
||||
def read_nonblocking(self, size=1, timeout=-1):
|
||||
# do nothing, only used to flush pexpect output
|
||||
pass
|
||||
|
||||
def sendline(self, line, *args, **kwargs):
|
||||
self.last_command = line
|
||||
if self.ctrl.output is None:
|
||||
|
Loading…
Reference in New Issue
Block a user