Fix output volume test, skip say test

This commit is contained in:
Shane Lee 2024-04-15 10:02:59 -06:00 committed by Pedro Algarvio
parent fe79f31000
commit 75f1449b32

View file

@ -32,6 +32,8 @@ def test_set_output_volume(desktop):
Tests the return of set_output_volume.
"""
current_vol = desktop.get_output_volume()
if current_vol == "missing value":
current_vol = 0
try:
to_set = 10
if current_vol == str(to_set):
@ -66,6 +68,7 @@ def test_lock(desktop):
assert ret
@pytest.mark.skipif(True, reason="Test is flaky. Is this really needed?")
def test_say(desktop):
"""
Tests the return of the say function.