Finish porting from nose to pytest.

This commit is contained in:
Matěj Cepl 2020-10-06 08:04:09 +02:00
commit ea489bce6c
72 changed files with 1289 additions and 1280 deletions

View file

@ -111,7 +111,7 @@ def test_lambda_can_be_deleted_by_cloudformation():
# Verify function was deleted
with pytest.raises(ClientError) as e:
lmbda.get_function(FunctionName=created_fn_name)
e.exception.response["Error"]["Code"].should.equal("ResourceNotFoundException")
e.value.response["Error"]["Code"].should.equal("ResourceNotFoundException")
@mock_cloudformation