From 832dcc2bfd0b5a3b36e2b2073ccb558619031104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Ca=C3=B1uelo?= Date: Fri, 1 Dec 2023 09:52:40 +0100 Subject: [PATCH] test fixes: test_subscribe_handler.py --- tests/e2e_tests/test_subscribe_handler.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/e2e_tests/test_subscribe_handler.py b/tests/e2e_tests/test_subscribe_handler.py index 6f27d21bb..4413179ff 100644 --- a/tests/e2e_tests/test_subscribe_handler.py +++ b/tests/e2e_tests/test_subscribe_handler.py @@ -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' @@ -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' @@ -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'