Ability to user awxkit with websocket custom urls

This commit is contained in:
César Francisco San Nicolás Martínez
2024-02-20 12:23:12 +01:00
committed by Dave
parent 81d88df757
commit f78ba282a6
2 changed files with 17 additions and 2 deletions

View File

@@ -17,6 +17,11 @@ def test_explicit_hostname():
assert client.token == "token"
def test_websocket_suffix():
client = WSClient("token", "hostname", 566, ws_suffix='my-websocket/')
assert client.suffix == 'my-websocket/'
@pytest.mark.parametrize(
'url, result',
[