add the function to the stubs

This commit is contained in:
Jason Kölker 2011-06-13 11:04:01 -05:00
parent 03e47cacfc
commit d3661b7746
1 changed files with 2 additions and 0 deletions

View File

@ -458,5 +458,7 @@ def stub_out_registry_db_image_api(stubs):
fake_datastore.image_destroy)
stubs.Set(glance.registry.db.api, 'image_get',
fake_datastore.image_get)
stubs.Set(glance.registry.db.api, 'image_get_all_pending_delete',
fake_datastore.image_get_all_pending_delete)
stubs.Set(glance.registry.db.api, 'image_get_all_public',
fake_datastore.image_get_all_public)