Fixed type causing pylint "exception is not callable"

Added param to fake_instance_create, fake objects should appear like the real object. pylint "No value passed for parameter 'values' in function call"
This commit is contained in:
Alex Meade
2011-06-07 09:56:51 -04:00
parent 0cbcdfcec0
commit dcc5df539a
2 changed files with 2 additions and 2 deletions

View File

@@ -52,7 +52,7 @@ def stub_out_db_instance_api(stubs):
else:
raise NotImplementedError()
def fake_instance_create(values):
def fake_instance_create(context, values):
"""Stubs out the db.instance_create method."""
type_data = INSTANCE_TYPES[values['instance_type']]