Minor update on security group tests
- Updating neutron error types Change-Id: Ie4ba7b3a22b3f078f93e8defa9595e0a0e3a4ea6
This commit is contained in:
parent
82ed9a4ce2
commit
f6b3c076e6
@ -92,7 +92,7 @@ data_set_list_negative.append_new_dataset(
|
|||||||
data_dict={'direction': 'egress',
|
data_dict={'direction': 'egress',
|
||||||
'http_status': 'BAD_REQUEST',
|
'http_status': 'BAD_REQUEST',
|
||||||
'test_desc': 'Non-ingress rules are not currently supported',
|
'test_desc': 'Non-ingress rules are not currently supported',
|
||||||
'error_type': 'INVALID_INPUT'},
|
'error_type': 'EGRESS_SECURITY_GROUP_RULES_NOT_ENABLED'},
|
||||||
tags=['sec_group', 'post', 'negative', 'rbac_creator'])
|
tags=['sec_group', 'post', 'negative', 'rbac_creator'])
|
||||||
data_set_list_negative.append_new_dataset(
|
data_set_list_negative.append_new_dataset(
|
||||||
name='w_invalid_protocol',
|
name='w_invalid_protocol',
|
||||||
@ -167,7 +167,7 @@ data_set_list_negative.append_new_dataset(
|
|||||||
data_dict={'protocol': 'icmp', 'port_range_max': 200,
|
data_dict={'protocol': 'icmp', 'port_range_max': 200,
|
||||||
'http_status': 'BAD_REQUEST',
|
'http_status': 'BAD_REQUEST',
|
||||||
'test_desc': 'ICMP requires port_range_min when port_range_max given',
|
'test_desc': 'ICMP requires port_range_min when port_range_max given',
|
||||||
'error_type': 'SECURITY_GROUP_INVALID_ICMP_VALUE'},
|
'error_type': 'SECURITY_GROUP_MISSING_ICMP_TYPE'},
|
||||||
tags=['bug'])
|
tags=['bug'])
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user