Convert fixtures/exceptions to Pytest

This commit is contained in:
Bert Blommers 2020-11-11 15:54:01 +00:00
commit cb6731f340
16 changed files with 119 additions and 170 deletions

View file

@ -638,9 +638,7 @@ def test_put_secret_value_on_non_existing_secret():
VersionStages=["AWSCURRENT"],
)
assert \
"Secrets Manager can't find the specified secret." == \
cm.exception.response["Error"]["Message"]
cm.value.response["Error"]["Message"].should.equal("Secrets Manager can't find the specified secret.")
@mock_secretsmanager
@ -954,7 +952,7 @@ def test_tag_resource():
assert \
"Secrets Manager can't find the specified secret." == \
cm.exception.response["Error"]["Message"]
cm.value.response["Error"]["Message"]
@mock_secretsmanager