From 3b8a105f33641d5ed792ab8bf7658c0adf05a5f2 Mon Sep 17 00:00:00 2001 From: Ekaterina Chernitsyna Date: Mon, 2 Sep 2024 14:18:05 +0300 Subject: [PATCH] update --- pytest_tests/testsuites/ape/test_ape.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_tests/testsuites/ape/test_ape.py b/pytest_tests/testsuites/ape/test_ape.py index 76ad7de..6a22813 100644 --- a/pytest_tests/testsuites/ape/test_ape.py +++ b/pytest_tests/testsuites/ape/test_ape.py @@ -574,7 +574,7 @@ class TestApeMorphRuleChain(ClusterTestBase): ) with reporter.step("Get object from container on the first node"): - with pytest.raises(RuntimeError, match=OBJECT_NOT_FOUND.format(operation=GET_OBJECT)): + with pytest.raises(RuntimeError, match=RULE_ACCESS_DENIED_OBJECT.format(operation=GET_OBJECT)): get_object( wallet=user.wallet, oid=oid, @@ -584,7 +584,7 @@ class TestApeMorphRuleChain(ClusterTestBase): ) with reporter.step("Get object from container on the second node"): - with pytest.raises(RuntimeError, match=OBJECT_NOT_FOUND.format(operation=GET_OBJECT)): + with pytest.raises(RuntimeError, match=RULE_ACCESS_DENIED_OBJECT.format(operation=GET_OBJECT)): get_object( wallet=user.wallet, oid=oid,