Commit 6dd2465d authored by Angus Ainslie's avatar Angus Ainslie
Browse files

pytests/ fix the phone headphone detect

The headphone detect changed names on the phone
Signed-off-by: default avatarAngus Ainslie <>
parent bc1e8953
......@@ -34,7 +34,10 @@ def test_codec_and_modem_cards_exist():
def test_headphone_detection():
"Check if we registered the headphone detection IRQ"
f = open("/proc/interrupts")
assert " HP_DET" in
if boardtype.is_librem5():
assert "Headphone detection" in
assert " HP_DET" in
def test_sound_output(tempdir):
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