add BaseV2ComputeTest as the base class of nova v2 api tests
this does refactor in compute.base, add BaseV2ComputeTest as
the base class of nova v2 api test. Because there will be nova
v3 tests, this change will be convenient to add BaseV3ComputeTest
as the base class of nova v3 api tests. In this way, we can split
v2 tests with v3 tests easily, and share some common method.
Partially implements blueprint nova-v3-api-tests
Change-Id: Ie8e0d17a95e8378733dd21ab341dfad1331edf6e
diff --git a/tempest/api/compute/admin/test_servers.py b/tempest/api/compute/admin/test_servers.py
index 97e0e69..ebc661c 100644
--- a/tempest/api/compute/admin/test_servers.py
+++ b/tempest/api/compute/admin/test_servers.py
@@ -22,7 +22,7 @@
from tempest.test import skip_because
-class ServersAdminTestJSON(base.BaseComputeAdminTest):
+class ServersAdminTestJSON(base.BaseV2ComputeAdminTest):
"""
Tests Servers API using admin privileges