summaryrefslogtreecommitdiffstats
path: root/nova/tests/scheduler
diff options
context:
space:
mode:
authorMark McLoughlin <markmc@redhat.com>2012-11-15 19:41:58 -0500
committerMark McLoughlin <markmc@redhat.com>2012-11-17 16:30:03 +0000
commit6e92a67fc3e6dcd587e3fd225b7142bc74116e52 (patch)
tree0c25405e1b7bd383c3801244645be8b76b408e40 /nova/tests/scheduler
parent0e932e6b2390ee8731134cfdb1dcdea3adfc8062 (diff)
downloadnova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.tar.gz
nova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.tar.xz
nova-6e92a67fc3e6dcd587e3fd225b7142bc74116e52.zip
Remove nova.flags
Now that options have all moved from nova.flags to nova.config, we can safely remove the nova.flags imports and replace them with nova.config imports. Change-Id: Ic077a72dd6419bbf1e1babe71acfa43c4e8b55c8
Diffstat (limited to 'nova/tests/scheduler')
-rw-r--r--nova/tests/scheduler/test_host_filters.py1
-rw-r--r--nova/tests/scheduler/test_rpcapi.py1
-rw-r--r--nova/tests/scheduler/test_scheduler.py2
3 files changed, 1 insertions, 3 deletions
diff --git a/nova/tests/scheduler/test_host_filters.py b/nova/tests/scheduler/test_host_filters.py
index 8b160f288..84667eb9e 100644
--- a/nova/tests/scheduler/test_host_filters.py
+++ b/nova/tests/scheduler/test_host_filters.py
@@ -22,7 +22,6 @@ from nova import config
from nova import context
from nova import db
from nova import exception
-from nova import flags
from nova.openstack.common import jsonutils
from nova.scheduler import filters
from nova.scheduler.filters import extra_specs_ops
diff --git a/nova/tests/scheduler/test_rpcapi.py b/nova/tests/scheduler/test_rpcapi.py
index 605b0995e..05a792a53 100644
--- a/nova/tests/scheduler/test_rpcapi.py
+++ b/nova/tests/scheduler/test_rpcapi.py
@@ -20,7 +20,6 @@ Unit Tests for nova.scheduler.rpcapi
from nova import config
from nova import context
-from nova import flags
from nova.openstack.common import rpc
from nova.scheduler import rpcapi as scheduler_rpcapi
from nova import test
diff --git a/nova/tests/scheduler/test_scheduler.py b/nova/tests/scheduler/test_scheduler.py
index 5fa3fbacd..76d438f2e 100644
--- a/nova/tests/scheduler/test_scheduler.py
+++ b/nova/tests/scheduler/test_scheduler.py
@@ -26,10 +26,10 @@ from nova.compute import power_state
from nova.compute import rpcapi as compute_rpcapi
from nova.compute import utils as compute_utils
from nova.compute import vm_states
+from nova import config
from nova import context
from nova import db
from nova import exception
-from nova import flags
from nova.openstack.common import jsonutils
from nova.openstack.common import rpc
from nova.openstack.common import timeutils