fix bug that remove_rule doesnt remove rule correctly (#1074)

This commit is contained in:
Toshiya Kawasaki 2017-08-22 04:30:03 +09:00 committed by Jack Danger
commit 2ace59a60e
2 changed files with 6 additions and 1 deletions

View file

@ -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