fix bug that remove_rule doesnt remove rule correctly (#1074)
This commit is contained in:
parent
ce7eabd44a
commit
2ace59a60e
2 changed files with 6 additions and 1 deletions
|
|
@ -770,6 +770,8 @@ def test_handle_listener_rules():
|
|||
# delete
|
||||
arn = first_rule['RuleArn']
|
||||
conn.delete_rule(RuleArn=arn)
|
||||
rules = conn.describe_rules(ListenerArn=http_listener_arn)['Rules']
|
||||
len(rules).should.equal(2)
|
||||
|
||||
# test for invalid action type
|
||||
safe_priority = 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue