Skip to content

Commit

Permalink
test fixes: test_subscribe_handler.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Ricardo Cañuelo committed Dec 1, 2023
1 parent 8be9929 commit 832dcc2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e_tests/test_subscribe_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_subscribe_node_channel(test_client):
)
pytest.node_channel_subscription_id = response.json()['id']
assert response.status_code == 200
assert ('id', 'channel') == tuple(response.json().keys())
assert ('id', 'channel', 'user') == tuple(response.json().keys())
assert response.json().get('channel') == 'node'


Expand All @@ -51,7 +51,7 @@ def test_subscribe_test_channel(test_client):
)
pytest.test_channel_subscription_id = response.json()['id']
assert response.status_code == 200
assert ('id', 'channel') == tuple(response.json().keys())
assert ('id', 'channel', 'user') == tuple(response.json().keys())
assert response.json().get('channel') == 'test_channel'


Expand All @@ -75,5 +75,5 @@ def test_subscribe_user_group_channel(test_client):
)
pytest.user_group_channel_subscription_id = response.json()['id']
assert response.status_code == 200
assert ('id', 'channel') == tuple(response.json().keys())
assert ('id', 'channel', 'user') == tuple(response.json().keys())
assert response.json().get('channel') == 'user_group'

0 comments on commit 832dcc2

Please sign in to comment.