summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/compute/test_servers.py2
-rw-r--r--nova/tests/scheduler/test_rpcapi.py1
-rw-r--r--nova/tests/test_quota.py2
3 files changed, 2 insertions, 3 deletions
diff --git a/nova/tests/api/openstack/compute/test_servers.py b/nova/tests/api/openstack/compute/test_servers.py
index 938783be7..a85efcc0b 100644
--- a/nova/tests/api/openstack/compute/test_servers.py
+++ b/nova/tests/api/openstack/compute/test_servers.py
@@ -55,7 +55,7 @@ from nova.tests import matchers
CONF = cfg.CONF
CONF.import_opt('password_length', 'nova.utils')
-CONF.import_opt('scheduler_topic', 'nova.config')
+CONF.import_opt('scheduler_topic', 'nova.scheduler.rpcapi')
FAKE_UUID = fakes.FAKE_UUID
NS = "{http://docs.openstack.org/compute/api/v1.1}"
diff --git a/nova/tests/scheduler/test_rpcapi.py b/nova/tests/scheduler/test_rpcapi.py
index da7652a50..e9a1680a8 100644
--- a/nova/tests/scheduler/test_rpcapi.py
+++ b/nova/tests/scheduler/test_rpcapi.py
@@ -25,7 +25,6 @@ from nova.scheduler import rpcapi as scheduler_rpcapi
from nova import test
CONF = cfg.CONF
-CONF.import_opt('scheduler_topic', 'nova.config')
class SchedulerRpcAPITestCase(test.TestCase):
diff --git a/nova/tests/test_quota.py b/nova/tests/test_quota.py
index 28e9ccfda..2eec1574a 100644
--- a/nova/tests/test_quota.py
+++ b/nova/tests/test_quota.py
@@ -34,7 +34,7 @@ from nova import test
import nova.tests.image.fake
CONF = cfg.CONF
-CONF.import_opt('scheduler_topic', 'nova.config')
+CONF.import_opt('scheduler_topic', 'nova.scheduler.rpcapi')
CONF.import_opt('compute_driver', 'nova.virt.driver')