diff options
| author | Brian Waldon <bcwaldon@gmail.com> | 2012-01-28 21:47:06 -0800 |
|---|---|---|
| committer | Brian Waldon <bcwaldon@gmail.com> | 2012-01-28 22:19:21 -0800 |
| commit | 755f660b7ca129f869da07db0cc4433106f47ff9 (patch) | |
| tree | 93dd09af3ac71ceb3005c4e1e9659d51939781ce /nova/tests | |
| parent | 6a239cb7a2ea05a9382ed71469ca770afbb12212 (diff) | |
Use name filter in GlanceImageService show_by_name
Fixes bug 883289
Change-Id: Ie2e62aea55e6541dc4ad1a725130fbf0259362fb
Diffstat (limited to 'nova/tests')
| -rw-r--r-- | nova/tests/image/test_glance.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/nova/tests/image/test_glance.py b/nova/tests/image/test_glance.py index 5e9f9d79b..7fac3982d 100644 --- a/nova/tests/image/test_glance.py +++ b/nova/tests/image/test_glance.py @@ -193,10 +193,6 @@ class TestGlanceImageService(test.TestCase): 'bad image id') def test_create_and_show_non_existing_image_by_name(self): - fixture = self._make_fixture(name='test image') - image_id = self.service.create(self.context, fixture)['id'] - - self.assertNotEquals(None, image_id) self.assertRaises(exception.ImageNotFound, self.service.show_by_name, self.context, |
