Skip to content

Commit d89279c

Browse files
committed
Test if Hub.path is of type str
1 parent f0b87d4 commit d89279c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_hub.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def test_wrong_or_missing_parameter():
2020
with pytest.raises(TypeError):
2121
Hub()
2222

23-
with pytest.raises(TypeError):
24-
Hub(1)
23+
hub = Hub(1)
24+
assert hub.path == "1"
2525

2626

2727
def test_multiple_manual_ports():

0 commit comments

Comments
 (0)