From bb831697f745303c46591abd1968b9133680996d Mon Sep 17 00:00:00 2001 From: Dmitrii Stepanov Date: Tue, 21 Mar 2023 16:05:09 +0300 Subject: [PATCH] [#25] testcases: Fix test_static_session_search Lists should be compared sorted Enable test after bugfix Signed-off-by: Dmitrii Stepanov --- .../session_token/test_static_object_session_token.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pytest_tests/testsuites/session_token/test_static_object_session_token.py b/pytest_tests/testsuites/session_token/test_static_object_session_token.py index c51672f..78fe193 100644 --- a/pytest_tests/testsuites/session_token/test_static_object_session_token.py +++ b/pytest_tests/testsuites/session_token/test_static_object_session_token.py @@ -226,8 +226,6 @@ class TestObjectStaticSession(ClusterTestBase): ) @allure.title("Validate static session with search operation") - @pytest.mark.xfail - # (see https://github.com/nspcc-dev/neofs-node/issues/2030) def test_static_session_search( self, user_wallet: WalletFile, @@ -250,7 +248,7 @@ class TestObjectStaticSession(ClusterTestBase): session=static_sessions[ObjectVerb.SEARCH], root=True, ) - assert expected_object_ids == actual_object_ids + assert sorted(expected_object_ids) == sorted(actual_object_ids) @allure.title("Validate static session with object id not in session") def test_static_session_unrelated_object(