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

@ -79,7 +79,7 @@ def test_delete_model_not_found():
boto3.client("sagemaker", region_name="us-east-1").delete_model(
ModelName="blah"
)
assert err.exception.response["Error"]["Code"].should.equal("404")
assert err.value.response["Error"]["Code"].should.equal("404")
@mock_sagemaker