[#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>
This commit is contained in:
parent
2b950f41cd
commit
bb831697f7
1 changed files with 1 additions and 3 deletions
|
@ -226,8 +226,6 @@ class TestObjectStaticSession(ClusterTestBase):
|
||||||
)
|
)
|
||||||
|
|
||||||
@allure.title("Validate static session with search operation")
|
@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(
|
def test_static_session_search(
|
||||||
self,
|
self,
|
||||||
user_wallet: WalletFile,
|
user_wallet: WalletFile,
|
||||||
|
@ -250,7 +248,7 @@ class TestObjectStaticSession(ClusterTestBase):
|
||||||
session=static_sessions[ObjectVerb.SEARCH],
|
session=static_sessions[ObjectVerb.SEARCH],
|
||||||
root=True,
|
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")
|
@allure.title("Validate static session with object id not in session")
|
||||||
def test_static_session_unrelated_object(
|
def test_static_session_unrelated_object(
|
||||||
|
|
Loading…
Reference in a new issue