summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Murray <scott.murray@konsulko.com>2020-08-28 17:40:01 -0400
committerScott Murray <scott.murray@konsulko.com>2020-08-28 17:40:01 -0400
commitcb2325a173f1eca94288682085383f161413ffc6 (patch)
treedabd686be06f017d64a347367dce3fcd93ed02bc
parent9e0287f2780776cfd171311de7dd86213d7319fa (diff)
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 <scott.murray@konsulko.com>
-rw-r--r--pyagl/tests/test_audiomixer.py12
-rw-r--r--pyagl/tests/test_bluetooth.py2
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):