[#25] testcases: Fix test_static_session_search

Lists should be compared sorted
Enable test after bugfix

Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
support/v0.36
Dmitrii Stepanov 2023-03-21 16:05:09 +03:00
parent 2b950f41cd
commit bb831697f7
1 changed files with 1 additions and 3 deletions

View File

@ -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(