mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-rest-api.git
synced 2024-11-09 20:53:10 +00:00
test(websocket): remove excessive sleeping
This commit is contained in:
parent
f772005b17
commit
17ae162156
|
@ -66,14 +66,12 @@ def authenticated_websocket(
|
|||
ValueError(TOKEN_REPO.get_tokens())
|
||||
with connect_ws_authenticated(authorized_client) as websocket:
|
||||
yield websocket
|
||||
sleep(1)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def unauthenticated_websocket(client) -> Generator[WebSocketTestSession, None, None]:
|
||||
with connect_ws_not_authenticated(client) as websocket:
|
||||
yield websocket
|
||||
sleep(1)
|
||||
|
||||
|
||||
def test_websocket_connection_bare(authorized_client):
|
||||
|
|
Loading…
Reference in a new issue