Commit 9b124f0e authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Guido Gunther
Browse files

pytests/ fix aplay -l output capturing

I get the following error on the L5:

TypeError: argument of type 'CompletedProcess' is not iterable

and using out.stdout solves the problem.
Signed-off-by: Martin Kepplinger's avatarMartin Kepplinger <>
parent 0467fb85
......@@ -25,7 +25,7 @@ def test_modem_alsa():
out =["aplay", "-l"], capture_output=True)
assert(out.returncode == 0)
if boardtype.is_librem5():
assert(b"gtm601" in out)
assert(b"gtm601" in out.stdout)
assert(b": SIM7100 [SIMCom SIM7100]" in out.stdout)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment