mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-13 22:23:16 +00:00
7 lines
280 B
Python
7 lines
280 B
Python
|
|
def test_websocket_connection_bare(authorized_client):
|
|
client =authorized_client
|
|
with client.websocket_connect('/graphql', subprotocols=[ "graphql-transport-ws","graphql-ws"] ) as websocket:
|
|
assert websocket is not None
|
|
assert websocket.scope is not None
|