This commit is contained in:
Ekaterina Chernitsyna 2024-09-02 14:18:05 +03:00
parent 52f3c391da
commit 3b8a105f33

View file

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