Skip to content

Commit

Permalink
Update test_websocket.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zAlweNy26 committed Sep 1, 2023
1 parent 414c3bc commit bf11b75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/tests/routes/test_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ def test_websocket(client):
"text": "Your bald aunt with a wooden leg"
}, client)

for k in ["error", "content", "why"]:
for k in ["type", "content", "why"]:
assert k in res.keys()

assert not res["error"]
assert res["type"] != "error"
assert type(res["content"]) == str
assert "You did not configure" in res["content"]
assert len(res["why"].keys()) > 0

0 comments on commit bf11b75

Please sign in to comment.