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

@ -184,9 +184,8 @@ def test_apply_security_groups_to_load_balancer():
response = client.apply_security_groups_to_load_balancer(
LoadBalancerName="my-lb", SecurityGroups=["not-really-a-security-group"]
)
assert "One or more of the specified security groups do not exist." in str(
error.exception
)
assert "One or more of the specified security groups do not exist." \
in str(error.value)
@mock_elb_deprecated