test multimon with procManager

This commit is contained in:
Bastian Schroll 2019-09-20 17:38:53 +02:00
parent 957b22e087
commit 6f40095c52
3 changed files with 21 additions and 44 deletions

View file

@ -90,6 +90,12 @@ class ProcessManager:
return line
return None
def skipLines(self, line_cnt=1):
logging.debug("Skip %d lines from output", line_cnt)
while line_cnt:
self.readline()
line_cnt -= 1
def setStdin(self, stdin):
"""!Set the stdin stream instance"""
self._stdin = stdin