assert any(['device name: sensor@0' in line for line in lines]), 'expected response not found' assert any(['device name: sensor@1' in line for line in lines]), 'expected response not found' lines = ...
We've decided to retire and archive this project - there's just no safe way to run Python within pyodide safely with reasonable latency. Instead, we're working hard on Monty which should solve the ...