diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-06-02 13:00:17 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-06-02 13:00:17 -0400 |
| commit | 9034bb2fcd5f03df2b25d6114adc4e7d5f3549fe (patch) | |
| tree | ef5646c99a4de800196bfed8382e68b2fe178caa /nova/tests | |
| parent | 052f08256d2be2dda5ed792be48aa4f97cb93a93 (diff) | |
Remove some of the extra image service calls from the OS API images controller.
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/api/openstack/fakes.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/tests/api/openstack/fakes.py b/nova/tests/api/openstack/fakes.py index 97fc3900d..17d6d591c 100644 --- a/nova/tests/api/openstack/fakes.py +++ b/nova/tests/api/openstack/fakes.py @@ -211,7 +211,7 @@ def stub_out_glance(stubs, initial_fixtures=None): def _find_image(self, image_id): for f in self.fixtures: - if f['id'] == image_id: + if str(f['id']) == str(image_id): return f return None |
