From 20743d0b343648097e7ea0f5048b49cff3fff42b Mon Sep 17 00:00:00 2001 From: Matt Riedemann Date: Thu, 29 Dec 2016 16:12:40 -0500 Subject: [PATCH] Remove unnecessary attrs from TenantNetworksDeprecationTest There are a couple of unused attributes in the TenantNetworksDeprecationTest class which can be removed. They were probably there from some copy/paste of another class that extended the base tenant networks test class. Change-Id: I23e06c2f2b3a7d00037f137191c9df612a884888 --- nova/tests/unit/api/openstack/compute/test_tenant_networks.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/nova/tests/unit/api/openstack/compute/test_tenant_networks.py b/nova/tests/unit/api/openstack/compute/test_tenant_networks.py index b3737d28badb..34d6dbc2c40f 100644 --- a/nova/tests/unit/api/openstack/compute/test_tenant_networks.py +++ b/nova/tests/unit/api/openstack/compute/test_tenant_networks.py @@ -314,8 +314,6 @@ class TenantNetworksEnforcementV21(test.NoDBTestCase): class TenantNetworksDeprecationTest(test.NoDBTestCase): - ctrlr = networks_v21.TenantNetworkController - validation_error = exception.ValidationError def setUp(self): super(TenantNetworksDeprecationTest, self).setUp()