From fc7e9c101f54557f00179f249cc1e9fe1bcf7de2 Mon Sep 17 00:00:00 2001 From: jichenjc Date: Fri, 8 May 2015 06:05:02 +0800 Subject: [PATCH] Change group controller of V2 test cases The existing controller didn't change V21's controller makes the whole test focus on V21 instead of V2. Change-Id: I31c0bd36cad328a23763e79c8658aaf4ef6a7c3d --- .../openstack/compute/contrib/test_neutron_security_groups.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/tests/unit/api/openstack/compute/contrib/test_neutron_security_groups.py b/nova/tests/unit/api/openstack/compute/contrib/test_neutron_security_groups.py index 9f63c0d1dada..f64d1ada45cf 100644 --- a/nova/tests/unit/api/openstack/compute/contrib/test_neutron_security_groups.py +++ b/nova/tests/unit/api/openstack/compute/contrib/test_neutron_security_groups.py @@ -398,7 +398,7 @@ class TestNeutronSecurityGroupsV21( class TestNeutronSecurityGroupsV2(TestNeutronSecurityGroupsV21): - controller_cls = security_groups.SecurityGroupController + secgrp_ctl_cls = security_groups.SecurityGroupController server_secgrp_ctl_cls = security_groups.ServerSecurityGroupController secgrp_act_ctl_cls = security_groups.SecurityGroupActionController