Skip to content

Commit 97e1a6b

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "trivial: Remove FakeScheduler (for realz)"
2 parents f3c2bb6 + 6d74503 commit 97e1a6b

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

nova/tests/unit/scheduler/fakes.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@
2121
from oslo_utils.fixture import uuidsentinel
2222

2323
from nova import objects
24-
from nova.scheduler import driver
2524
from nova.scheduler import host_manager
2625

2726

@@ -224,11 +223,3 @@ def __init__(self, host, node, attribute_dict, instances=None):
224223
self.instances = {}
225224
for (key, val) in attribute_dict.items():
226225
setattr(self, key, val)
227-
228-
229-
class FakeScheduler(driver.Scheduler):
230-
231-
def select_destinations(self, context, spec_obj, instance_uuids,
232-
alloc_reqs_by_rp_uuid, provider_summaries,
233-
allocation_request_version=None, return_alternates=False):
234-
return []

0 commit comments

Comments
 (0)