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:
parent
663ced6346
commit
8f9ea621f9
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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
|
||||
|
||||
|
@ -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 = [{
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user