Make sure isolated tenants are not left behind.
The skip was being called after isloated creds were created. The manager is already
created by the base class.
Change-Id: I36fe83e665aab111f40db03cee52be0d7550d2d0
diff --git a/tempest/tests/compute/servers/test_attach_interfaces.py b/tempest/tests/compute/servers/test_attach_interfaces.py
index 5e447c4..c7d4fa0 100644
--- a/tempest/tests/compute/servers/test_attach_interfaces.py
+++ b/tempest/tests/compute/servers/test_attach_interfaces.py
@@ -13,7 +13,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-from tempest import clients
from tempest.tests.compute import base
import time
@@ -24,11 +23,10 @@
@classmethod
def setUpClass(cls):
- super(AttachInterfacesTestJSON, cls).setUpClass()
- os = clients.Manager(interface=cls._interface)
- if not os.config.network.quantum_available:
+ if not cls.config.network.quantum_available:
raise cls.skipException("Quantum is required")
- cls.client = os.interfaces_client
+ super(AttachInterfacesTestJSON, cls).setUpClass()
+ cls.client = cls.os.interfaces_client
def _check_interface(self, iface, port_id=None, network_id=None,
fixed_ip=None):