Move API base out of admin test location

Originally ironic was entirely pruely just an admin API,
but this has changed, and we need to add additional non-admin
tests, so it makes sense to re-use to the base and share it
amongst the tests.

Change-Id: I0fe3e326e4a25dc0928080fd1111ca4c46d8134a
This commit is contained in:
Julia Kreger 2021-11-24 11:10:16 -08:00
parent 663ced6346
commit 8f9ea621f9
14 changed files with 13 additions and 13 deletions

View File

@ -16,7 +16,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.common import waiters
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
CONF = config.CONF

View File

@ -13,7 +13,7 @@
from tempest.lib import decorators
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestApiDiscovery(base.BaseBaremetalTest):

View File

@ -15,7 +15,7 @@ from tempest.lib.common.utils import data_utils
from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestChassis(base.BaseBaremetalTest):

View File

@ -13,7 +13,7 @@
from tempest import config
from tempest.lib import decorators
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
CONF = config.CONF

View File

@ -17,7 +17,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
EXAMPLE_STEPS = [{

View File

@ -16,7 +16,7 @@ from tempest import config
from tempest.lib import decorators
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
CONF = config.CONF

View File

@ -19,7 +19,7 @@ from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.common import waiters
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
CONF = config.CONF

View File

@ -17,7 +17,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestNodeStatesMixin(object):

View File

@ -15,7 +15,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestPortGroups(base.BaseBaremetalTest):

View File

@ -15,7 +15,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestPorts(base.BaseBaremetalTest):

View File

@ -15,7 +15,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestPortsNegative(base.BaseBaremetalTest):

View File

@ -18,7 +18,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestVolumeConnector(base.BaseBaremetalTest):

View File

@ -18,7 +18,7 @@ from tempest.lib import decorators
from tempest.lib import exceptions as lib_exc
from ironic_tempest_plugin.tests.api.admin import api_microversion_fixture
from ironic_tempest_plugin.tests.api.admin import base
from ironic_tempest_plugin.tests.api import base
class TestVolumeTarget(base.BaseBaremetalTest):