From 8710783ceec66fb8beba084fb53bb8c57ed1873b Mon Sep 17 00:00:00 2001 From: Nicolai Buchwitz Date: Tue, 21 May 2024 21:43:32 +0200 Subject: [PATCH] test: Fix tests Tests where broken since 8628f71 as they used a hardcoded version number, which does not match the new code. Fix the and use the correct version number in tests. Signed-off-by: Nicolai Buchwitz --- tests/test_hub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_hub.py b/tests/test_hub.py index a6eca13..9b44c36 100644 --- a/tests/test_hub.py +++ b/tests/test_hub.py @@ -53,7 +53,7 @@ def test_port_enumeration(mock_hub: MockHub, fp: pytest_subprocess.FakeProcess): def test_no_devices(fp: pytest_subprocess.FakeProcess): fp.register(["uhubctl", "-N"], stdout=["No compatible devices detected!".encode()]) - fp.register(["uhubctl", "-v"], stdout="2.4.0-43-ge1e4d450") + fp.register(["uhubctl", "-v"], stdout="2.5.0") hubs = uhubctl.discover_hubs()