Refactoring instance_type_get_all

This commit is contained in:
Rick Harris
2011-09-21 03:33:31 +00:00
parent 2d3baa1bc4
commit d29ed7086d

View File

@@ -100,7 +100,7 @@ def stub_out_db_instance_api(stubs):
return '10.10.10.10'
def fake_instance_type_get_all(context, inactive=0):
return INSTANCE_TYPES
return INSTANCE_TYPES.values()
def fake_instance_type_get_by_name(context, name):
return INSTANCE_TYPES[name]