File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
services/web/server/tests/unit/with_dbs/02 Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 1111
1212import pytest
1313from aiohttp .test_utils import TestClient
14+ from deepdiff import DeepDiff
1415from pytest_mock .plugin import MockerFixture
1516from pytest_simcore .helpers .assert_checks import assert_status
1617from pytest_simcore .helpers .webserver_users import UserInfoDict
@@ -259,10 +260,14 @@ async def test_patch_project_node_inputs_notifies(
259260 await assert_status (resp , expected )
260261 assert mocked_notify_project_node_update .call_count > 1
261262 # 1 message per node updated
262- assert [
263- call_args [0 ][2 ]
264- for call_args in mocked_notify_project_node_update .await_args_list
265- ] == list (user_project ["workbench" ].keys ())
263+ assert not DeepDiff (
264+ [
265+ call_args [0 ][2 ]
266+ for call_args in mocked_notify_project_node_update .await_args_list
267+ ],
268+ list (user_project ["workbench" ].keys ()),
269+ ignore_order = True ,
270+ )
266271
267272
268273@pytest .mark .parametrize (
You can’t perform that action at this time.
0 commit comments