Rename the namespace to zun_tempest_plugin
Change-Id: I68c9c956ebfdcbcba19c5cc2db404bcaa563e6ea
This commit is contained in:
parent
efe304dca8
commit
3e12e72fc2
@ -1,4 +1,4 @@
|
|||||||
[gerrit]
|
[gerrit]
|
||||||
host=review.openstack.org
|
host=review.openstack.org
|
||||||
port=29418
|
port=29418
|
||||||
project=openstack/zun_tempest_plugin.git
|
project=openstack/zun-tempest-plugin.git
|
||||||
|
@ -19,9 +19,9 @@ from tempest.lib.services.network import security_groups_client
|
|||||||
from tempest import manager
|
from tempest import manager
|
||||||
|
|
||||||
from zun.container.docker import utils as docker_utils
|
from zun.container.docker import utils as docker_utils
|
||||||
from zun.tests.tempest.api.models import container_model
|
from zun_tempest_plugin.tests.tempest.api.models import container_model
|
||||||
from zun.tests.tempest.api.models import service_model
|
from zun_tempest_plugin.tests.tempest.api.models import service_model
|
||||||
from zun.tests.tempest import utils
|
from zun_tempest_plugin.tests.tempest import utils
|
||||||
|
|
||||||
|
|
||||||
CONF = config.CONF
|
CONF = config.CONF
|
||||||
|
@ -16,7 +16,7 @@ import string
|
|||||||
import struct
|
import struct
|
||||||
|
|
||||||
from tempest.lib.common.utils import data_utils
|
from tempest.lib.common.utils import data_utils
|
||||||
from zun.tests.tempest.api.models import container_model
|
from zun_tempest_plugin.tests.tempest.api.models import container_model
|
||||||
|
|
||||||
|
|
||||||
def random_int(min_int=1, max_int=100):
|
def random_int(min_int=1, max_int=100):
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from zun.tests.tempest.api.common import base_model
|
from zun_tempest_plugin.tests.tempest.api.common import base_model
|
||||||
|
|
||||||
|
|
||||||
class ContainerData(base_model.BaseModel):
|
class ContainerData(base_model.BaseModel):
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
# License for the specific language governing permissions and limitations
|
# License for the specific language governing permissions and limitations
|
||||||
# under the License.
|
# under the License.
|
||||||
|
|
||||||
from zun.tests.tempest.api.common import base_model
|
from zun_tempest_plugin.tests.tempest.api.common import base_model
|
||||||
|
|
||||||
|
|
||||||
class ServiceData(base_model.BaseModel):
|
class ServiceData(base_model.BaseModel):
|
||||||
|
@ -13,10 +13,10 @@
|
|||||||
from oslo_utils import encodeutils
|
from oslo_utils import encodeutils
|
||||||
from tempest.lib import decorators
|
from tempest.lib import decorators
|
||||||
|
|
||||||
from zun.tests.tempest.api import clients
|
from zun_tempest_plugin.tests.tempest.api import clients
|
||||||
from zun.tests.tempest.api.common import datagen
|
from zun_tempest_plugin.tests.tempest.api.common import datagen
|
||||||
from zun.tests.tempest import base
|
from zun_tempest_plugin.tests.tempest import base
|
||||||
from zun.tests.tempest import utils
|
from zun_tempest_plugin.tests.tempest import utils
|
||||||
|
|
||||||
|
|
||||||
class TestContainer(base.BaseZunTest):
|
class TestContainer(base.BaseZunTest):
|
||||||
|
@ -13,8 +13,8 @@
|
|||||||
from tempest.lib import decorators
|
from tempest.lib import decorators
|
||||||
from tempest.lib import exceptions
|
from tempest.lib import exceptions
|
||||||
|
|
||||||
from zun.tests.tempest.api import clients
|
from zun_tempest_plugin.tests.tempest.api import clients
|
||||||
from zun.tests.tempest import base
|
from zun_tempest_plugin.tests.tempest import base
|
||||||
|
|
||||||
|
|
||||||
class TestService(base.BaseZunTest):
|
class TestService(base.BaseZunTest):
|
||||||
|
@ -16,7 +16,7 @@ import os
|
|||||||
|
|
||||||
from tempest.test_discover import plugins
|
from tempest.test_discover import plugins
|
||||||
|
|
||||||
from zun.tests.tempest import config as config_zun
|
from zun_tempest_plugin.tests.tempest import config as config_zun
|
||||||
|
|
||||||
|
|
||||||
class ZunTempestPlugin(plugins.TempestPlugin):
|
class ZunTempestPlugin(plugins.TempestPlugin):
|
||||||
@ -24,7 +24,7 @@ class ZunTempestPlugin(plugins.TempestPlugin):
|
|||||||
base_path = os.path.split(os.path.dirname(
|
base_path = os.path.split(os.path.dirname(
|
||||||
os.path.abspath(__file__)))[0]
|
os.path.abspath(__file__)))[0]
|
||||||
base_path += '/../..'
|
base_path += '/../..'
|
||||||
test_dir = "zun/tests/tempest"
|
test_dir = "zun_tempest_plugin/tests/tempest"
|
||||||
full_test_dir = os.path.join(base_path, test_dir)
|
full_test_dir = os.path.join(base_path, test_dir)
|
||||||
return full_test_dir, base_path
|
return full_test_dir, base_path
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user