Move rally.test to tests.test
This will separate totally tests/code base directories Change-Id: I2089f13d9f7e864ee7bb03ebfd937049c7acb0a5 trello: https://trello.com/c/2pzdYz6Z
This commit is contained in:
parent
438ed18458
commit
1046a985b7
@ -16,7 +16,7 @@
|
|||||||
import mock
|
import mock
|
||||||
|
|
||||||
from rally.benchmark.scenarios.cinder import volumes
|
from rally.benchmark.scenarios.cinder import volumes
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
CINDER_VOLUMES = "rally.benchmark.scenarios.cinder.volumes.CinderVolumes"
|
CINDER_VOLUMES = "rally.benchmark.scenarios.cinder.volumes.CinderVolumes"
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import mock
|
import mock
|
||||||
|
|
||||||
from rally.benchmark.scenarios.keystone import basic
|
from rally.benchmark.scenarios.keystone import basic
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
KEYSTONE_BASE = "rally.benchmark.scenarios.keystone."
|
KEYSTONE_BASE = "rally.benchmark.scenarios.keystone."
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
import mock
|
import mock
|
||||||
|
|
||||||
from rally.benchmark.scenarios.keystone import utils
|
from rally.benchmark.scenarios.keystone import utils
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
|
||||||
|
@ -18,8 +18,8 @@ import mock
|
|||||||
from rally.benchmark.scenarios.nova import servers
|
from rally.benchmark.scenarios.nova import servers
|
||||||
from rally.benchmark import utils as butils
|
from rally.benchmark import utils as butils
|
||||||
from rally import exceptions as rally_exceptions
|
from rally import exceptions as rally_exceptions
|
||||||
from rally import test
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
NOVA_SERVERS = "rally.benchmark.scenarios.nova.servers.NovaServers"
|
NOVA_SERVERS = "rally.benchmark.scenarios.nova.servers.NovaServers"
|
||||||
|
@ -18,8 +18,8 @@ import mock
|
|||||||
from rally.benchmark.scenarios.nova import utils
|
from rally.benchmark.scenarios.nova import utils
|
||||||
from rally.benchmark import utils as butils
|
from rally.benchmark import utils as butils
|
||||||
from rally import exceptions as rally_exceptions
|
from rally import exceptions as rally_exceptions
|
||||||
from rally import test
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class NovaScenarioTestCase(test.TestCase):
|
class NovaScenarioTestCase(test.TestCase):
|
||||||
|
@ -18,7 +18,7 @@ import mock
|
|||||||
|
|
||||||
from jsonschema import exceptions as schema_exceptions
|
from jsonschema import exceptions as schema_exceptions
|
||||||
from rally.benchmark.scenarios import utils
|
from rally.benchmark.scenarios import utils
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
def action_one(self, *args, **kwargs):
|
def action_one(self, *args, **kwargs):
|
||||||
|
@ -17,7 +17,7 @@ import mock
|
|||||||
|
|
||||||
from rally.benchmark import base
|
from rally.benchmark import base
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class ScenarioTestCase(test.TestCase):
|
class ScenarioTestCase(test.TestCase):
|
||||||
|
@ -20,8 +20,8 @@ import mock
|
|||||||
from rally.benchmark import engine
|
from rally.benchmark import engine
|
||||||
from rally import consts
|
from rally import consts
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import test
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class TestEngineTestCase(test.TestCase):
|
class TestEngineTestCase(test.TestCase):
|
||||||
|
@ -18,8 +18,8 @@ import mock
|
|||||||
import multiprocessing
|
import multiprocessing
|
||||||
|
|
||||||
from rally.benchmark import runner
|
from rally.benchmark import runner
|
||||||
from rally import test
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class MockedPool(object):
|
class MockedPool(object):
|
||||||
|
@ -17,7 +17,7 @@ import mock
|
|||||||
import sys
|
import sys
|
||||||
|
|
||||||
from rally.cmd import manage
|
from rally.cmd import manage
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class CmdManageTestCase(test.TestCase):
|
class CmdManageTestCase(test.TestCase):
|
||||||
|
@ -20,7 +20,7 @@ import uuid
|
|||||||
from rally import consts
|
from rally import consts
|
||||||
from rally import db
|
from rally import db
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class TasksTestCase(test.DBTestCase):
|
class TasksTestCase(test.DBTestCase):
|
||||||
|
@ -19,7 +19,7 @@ import jsonschema
|
|||||||
|
|
||||||
from rally import deploy
|
from rally import deploy
|
||||||
from rally.deploy.engines import dummy
|
from rally.deploy.engines import dummy
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class TestDummyDeployEngine(test.TestCase):
|
class TestDummyDeployEngine(test.TestCase):
|
||||||
|
@ -21,7 +21,7 @@ import uuid
|
|||||||
from rally import consts
|
from rally import consts
|
||||||
from rally import deploy
|
from rally import deploy
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
def make_fake_deployment(**kwargs):
|
def make_fake_deployment(**kwargs):
|
||||||
|
@ -20,7 +20,7 @@ import uuid
|
|||||||
|
|
||||||
from rally import consts
|
from rally import consts
|
||||||
from rally import objects
|
from rally import objects
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class DeploymentTestCase(test.TestCase):
|
class DeploymentTestCase(test.TestCase):
|
||||||
|
@ -20,7 +20,7 @@ import uuid
|
|||||||
|
|
||||||
from rally import consts
|
from rally import consts
|
||||||
from rally import objects
|
from rally import objects
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class TaskTestCase(test.TestCase):
|
class TaskTestCase(test.TestCase):
|
||||||
|
@ -21,7 +21,7 @@ import uuid
|
|||||||
from rally.benchmark import base
|
from rally.benchmark import base
|
||||||
from rally import consts
|
from rally import consts
|
||||||
from rally.orchestrator import api
|
from rally.orchestrator import api
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
FAKE_DEPLOY_CONFIG = {
|
FAKE_DEPLOY_CONFIG = {
|
||||||
|
@ -17,7 +17,7 @@ import jsonschema
|
|||||||
|
|
||||||
from rally import serverprovider
|
from rally import serverprovider
|
||||||
from rally.serverprovider.providers import dummy
|
from rally.serverprovider.providers import dummy
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
ProviderFactory = serverprovider.ProviderFactory
|
ProviderFactory = serverprovider.ProviderFactory
|
||||||
|
@ -20,7 +20,7 @@ import mock
|
|||||||
|
|
||||||
from rally.openstack.common.fixture import mockpatch
|
from rally.openstack.common.fixture import mockpatch
|
||||||
from rally.serverprovider.providers import openstack as provider
|
from rally.serverprovider.providers import openstack as provider
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
MOD_NAME = 'rally.serverprovider.providers.openstack'
|
MOD_NAME = 'rally.serverprovider.providers.openstack'
|
||||||
|
@ -19,7 +19,7 @@ import mock
|
|||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import serverprovider
|
from rally import serverprovider
|
||||||
from rally import sshutils
|
from rally import sshutils
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
ProviderFactory = serverprovider.ProviderFactory
|
ProviderFactory = serverprovider.ProviderFactory
|
||||||
|
@ -16,8 +16,8 @@
|
|||||||
import mock
|
import mock
|
||||||
|
|
||||||
from rally import osclients
|
from rally import osclients
|
||||||
from rally import test
|
|
||||||
from tests import fakes
|
from tests import fakes
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class OSClientsTestCase(test.TestCase):
|
class OSClientsTestCase(test.TestCase):
|
||||||
|
@ -17,7 +17,7 @@ import mock
|
|||||||
|
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import processing
|
from rally import processing
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class ProcessingTestCase(test.TestCase):
|
class ProcessingTestCase(test.TestCase):
|
||||||
|
@ -18,7 +18,7 @@ import os
|
|||||||
|
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally import sshutils
|
from rally import sshutils
|
||||||
from rally import test
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class SSHTestCase(test.TestCase):
|
class SSHTestCase(test.TestCase):
|
||||||
|
@ -24,8 +24,8 @@ import time
|
|||||||
|
|
||||||
from rally import exceptions
|
from rally import exceptions
|
||||||
from rally.openstack.common.gettextutils import _
|
from rally.openstack.common.gettextutils import _
|
||||||
from rally import test
|
|
||||||
from rally import utils
|
from rally import utils
|
||||||
|
from tests import test
|
||||||
|
|
||||||
|
|
||||||
class ImmutableMixinTestCase(test.TestCase):
|
class ImmutableMixinTestCase(test.TestCase):
|
||||||
|
Loading…
Reference in New Issue
Block a user