Commit 257093dc authored by Martin Kepplinger's avatar Martin Kepplinger Committed by Guido Gunther
Browse files

pytests: test_audio: check existence of both modem and codec cards

parent 38744271
......@@ -26,6 +26,11 @@ def test_wm8962():
assert b"[wm8962]" in out
def test_codec_and_modem_cards_exist():
assert(os.path.exists('/sys/class/sound/card0'))
assert(os.path.exists('/sys/class/sound/card1'))
def test_headphone_detection():
"Check if we registered the headphone detection IRQ"
f = open("/proc/interrupts")
......
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