From b3cf2ee0e3d8447fdc91f4ed7de931612a1b652e Mon Sep 17 00:00:00 2001 From: anikeev-yadro Date: Wed, 26 Oct 2022 10:05:51 +0300 Subject: [PATCH] Fix session token tests Delete some commands which not supported dynamic sessions Signed-off-by: anikeev-yadro --- .../test_object_session_token.py | 99 ------------------- 1 file changed, 99 deletions(-) diff --git a/pytest_tests/testsuites/session_token/test_object_session_token.py b/pytest_tests/testsuites/session_token/test_object_session_token.py index 1691af6..10b55d7 100644 --- a/pytest_tests/testsuites/session_token/test_object_session_token.py +++ b/pytest_tests/testsuites/session_token/test_object_session_token.py @@ -78,39 +78,6 @@ def test_object_session_token(prepare_wallet_and_deposit, client_shell: Shell, o endpoint=session_token_node, session=session_token, ) - head_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=session_token_node, - session=session_token, - ) - search_object( - wallet=wallet, - cid=cid, - shell=client_shell, - endpoint=session_token_node, - expected_objects_list=[oid], - session=session_token, - ) - get_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=session_token_node, - session=session_token, - ) - get_range( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - range_cut="0:256", - endpoint=session_token_node, - session=session_token, - ) delete_object( wallet=wallet, cid=cid, @@ -130,39 +97,6 @@ def test_object_session_token(prepare_wallet_and_deposit, client_shell: Shell, o endpoint=container_node, session=session_token, ) - head_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=container_node, - session=session_token, - ) - search_object( - wallet=wallet, - cid=cid, - shell=client_shell, - endpoint=container_node, - expected_objects_list=[oid], - session=session_token, - ) - get_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=container_node, - session=session_token, - ) - get_range( - wallet=wallet, - cid=cid, - oid=oid, - range_cut="0:256", - shell=client_shell, - endpoint=container_node, - session=session_token, - ) with pytest.raises(Exception, match=SESSION_NOT_FOUND): delete_object( wallet=wallet, @@ -183,39 +117,6 @@ def test_object_session_token(prepare_wallet_and_deposit, client_shell: Shell, o endpoint=noncontainer_node, session=session_token, ) - head_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=noncontainer_node, - session=session_token, - ) - search_object( - wallet=wallet, - cid=cid, - shell=client_shell, - endpoint=noncontainer_node, - expected_objects_list=[oid], - session=session_token, - ) - get_object( - wallet=wallet, - cid=cid, - oid=oid, - shell=client_shell, - endpoint=noncontainer_node, - session=session_token, - ) - get_range( - wallet=wallet, - cid=cid, - oid=oid, - range_cut="0:256", - shell=client_shell, - endpoint=noncontainer_node, - session=session_token, - ) with pytest.raises(Exception, match=SESSION_NOT_FOUND): delete_object( wallet=wallet,