Skip to content

Commit 6d74503

Browse files
committed
trivial: Remove FakeScheduler (for realz)
Change I61c1a47559645c41089747cc81270848b58b68f9 purported to remove the unnecessary 'FakeScheduler', however, deleting the actual class never happened. Do that now. Change-Id: I865610c924d903cfafc049f0f2b9ab21b95a780b Signed-off-by: Stephen Finucane <[email protected]>
1 parent c4b4704 commit 6d74503

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)