From cb2325a173f1eca94288682085383f161413ffc6 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Fri, 28 Aug 2020 17:40:01 -0400 Subject: Mark some more tests as hwrequired Mark more tests that seem to require hardware in the audiomixer and bluetooth tests as hwrequired, with an eye towards having no failures when running with "not hwrequired" on qemu. Signed-off-by: Scott Murray --- pyagl/tests/test_audiomixer.py | 12 ++++++------ pyagl/tests/test_bluetooth.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pyagl/tests/test_audiomixer.py b/pyagl/tests/test_audiomixer.py index 53594c3..17cf9eb 100644 --- a/pyagl/tests/test_audiomixer.py +++ b/pyagl/tests/test_audiomixer.py @@ -50,7 +50,7 @@ async def test_list_controls(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_volume_verb(event_loop, service: AMS): msgid = await service.volume() @@ -60,7 +60,7 @@ async def test_volume_verb(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_set_volume0(event_loop, service: AMS): msgid = await service.volume(value=0) @@ -70,7 +70,7 @@ async def test_set_volume0(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_set_maxvolume(event_loop, service: AMS): msgid = await service.volume(value=1) @@ -80,7 +80,7 @@ async def test_set_maxvolume(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_get_mute(event_loop, service: AMS): msgid = await service.mute() @@ -90,7 +90,7 @@ async def test_get_mute(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_set_mute(event_loop, service: AMS): msgid = await service.mute(value=1) @@ -100,7 +100,7 @@ async def test_set_mute(event_loop, service: AMS): assert resp.status == 'success' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.audiomixer async def test_set_unmute(event_loop, service: AMS): msgid = await service.mute(value=0) diff --git a/pyagl/tests/test_bluetooth.py b/pyagl/tests/test_bluetooth.py index 72f5b77..10079bd 100644 --- a/pyagl/tests/test_bluetooth.py +++ b/pyagl/tests/test_bluetooth.py @@ -145,7 +145,7 @@ async def test_has_single_adapter(event_loop, service: BTS): f'Detected {len(resp.data["adapters"])} adapters. Multiple adapters may also affect testing' -@pytest.mark.regular +@pytest.mark.hwrequired @pytest.mark.bluetooth @pytest.mark.dependency(depends=['test_default_adapter']) async def test_adapter_state(event_loop, service: BTS): -- cgit 1.2.3-korg