Merge "Add assertion to test_create_security_group_rule_with_invalid_ports"
This commit is contained in:
commit
df6c026ec3
@ -153,6 +153,7 @@ class NegativeSecGroupTest(base.BaseSecGroupTest):
|
||||
|
||||
# Create rule for icmp protocol with invalid ports
|
||||
states = [(1, 256, 'Invalid value for ICMP code'),
|
||||
(-1, 25, 'Invalid value'),
|
||||
(None, 6, 'ICMP type (port-range-min) is missing'),
|
||||
(300, 1, 'Invalid value for ICMP type')]
|
||||
for pmin, pmax, msg in states:
|
||||
|
Loading…
Reference in New Issue
Block a user