scripts: pytest: add readlines_until
Add readlines_until method to DeviceAdapter class to simplify using
adapters in tests by give user possibility to read output from device
until following conditions:
- provided regex was found
- provided number of lines was already read
- timeout was occurred
Signed-off-by:
Piotr Golyzniak <piotr.golyzniak@nordicsemi.no>
Loading
Please sign in to comment