Remove changes to stub database.

This commit is contained in:
Donal Lafferty 2011-05-27 10:43:17 +01:00
parent d82590e6c2
commit e3083228b8
1 changed files with 0 additions and 2 deletions

View File

@ -267,7 +267,6 @@ def stub_out_registry_db_image_api(stubs):
The "datastore" always starts with this set of image fixtures.
:param stubs: Set of stubout stubs
:return: count of items in the "datastore"
"""
class FakeDatastore(object):
@ -424,4 +423,3 @@ def stub_out_registry_db_image_api(stubs):
fake_datastore.image_get)
stubs.Set(glance.registry.db.api, 'image_get_all_public',
fake_datastore.image_get_all_public)
return fake_datastore.next_id