diff options
| author | William Wolf <throughnothing@gmail.com> | 2011-05-18 09:52:37 -0400 |
|---|---|---|
| committer | William Wolf <throughnothing@gmail.com> | 2011-05-18 09:52:37 -0400 |
| commit | d3f67f97d81185158f611c3bc9bd5542a7fed788 (patch) | |
| tree | 4a558b16c72a574649db29476587ddd1bb648089 /nova | |
| parent | 375fdc745fc5915098f11585ccd6a91e86747086 (diff) | |
fixed test_servers small tests as well
Diffstat (limited to 'nova')
| -rw-r--r-- | nova/tests/api/openstack/test_servers.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/tests/api/openstack/test_servers.py b/nova/tests/api/openstack/test_servers.py index cfa8d2556..6982f87a8 100644 --- a/nova/tests/api/openstack/test_servers.py +++ b/nova/tests/api/openstack/test_servers.py @@ -464,6 +464,8 @@ class ServersTest(test.TestCase): def image_id_from_hash(*args, **kwargs): return 2 + + FLAGS.glance_image_service = 'nova.image.fake.FakeImageService' self.stubs.Set(nova.db.api, 'project_get_network', project_get_network) self.stubs.Set(nova.db.api, 'instance_create', instance_create) self.stubs.Set(nova.rpc, 'cast', fake_method) |
