Remove unused exception argument (#4924)
This commit is contained in:
parent
131c448756
commit
c1c423674c
@ -88,6 +88,20 @@ def test_describe_load_balancers():
|
||||
conn.describe_load_balancers(Names=["nope"])
|
||||
|
||||
|
||||
@mock_elbv2
|
||||
@mock_ec2
|
||||
def test_describe_listeners():
|
||||
conn = boto3.client("elbv2", region_name="us-east-1")
|
||||
|
||||
with pytest.raises(ClientError) as exc:
|
||||
conn.describe_listeners()
|
||||
err = exc.value.response["Error"]
|
||||
err["Code"].should.equal("ValidationError")
|
||||
err["Message"].should.equal(
|
||||
"You must specify either listener ARNs or a load balancer ARN"
|
||||
)
|
||||
|
||||
|
||||
@mock_elbv2
|
||||
@mock_ec2
|
||||
def test_add_remove_tags():
|
||||
|
Loading…
Reference in New Issue
Block a user