From f6b3c076e62b93fbb34e4d5df0be3c0de3f498bb Mon Sep 17 00:00:00 2001 From: Leonardo Maycotte Date: Tue, 29 Sep 2015 20:14:13 -0500 Subject: [PATCH] Minor update on security group tests - Updating neutron error types Change-Id: Ie4ba7b3a22b3f078f93e8defa9595e0a0e3a4ea6 --- .../api/security_groups/test_security_group_rules_create.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudroast/networking/networks/api/security_groups/test_security_group_rules_create.py b/cloudroast/networking/networks/api/security_groups/test_security_group_rules_create.py index 67b001fc..8c59c330 100644 --- a/cloudroast/networking/networks/api/security_groups/test_security_group_rules_create.py +++ b/cloudroast/networking/networks/api/security_groups/test_security_group_rules_create.py @@ -92,7 +92,7 @@ data_set_list_negative.append_new_dataset( data_dict={'direction': 'egress', 'http_status': 'BAD_REQUEST', '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']) data_set_list_negative.append_new_dataset( name='w_invalid_protocol', @@ -167,7 +167,7 @@ data_set_list_negative.append_new_dataset( data_dict={'protocol': 'icmp', 'port_range_max': 200, 'http_status': 'BAD_REQUEST', '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'])