Skip to content

Commit 8710783

Browse files
committed
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 <nb@tipi-net.de>
1 parent 8628f71 commit 8710783

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_hub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def test_port_enumeration(mock_hub: MockHub, fp: pytest_subprocess.FakeProcess):
5353

5454
def test_no_devices(fp: pytest_subprocess.FakeProcess):
5555
fp.register(["uhubctl", "-N"], stdout=["No compatible devices detected!".encode()])
56-
fp.register(["uhubctl", "-v"], stdout="2.4.0-43-ge1e4d450")
56+
fp.register(["uhubctl", "-v"], stdout="2.5.0")
5757

5858
hubs = uhubctl.discover_hubs()
5959

0 commit comments

Comments
 (0)