summaryrefslogtreecommitdiffstats
path: root/nova/tests
diff options
context:
space:
mode:
authorRick Harris <rick.harris@rackspace.com>2011-05-18 15:14:24 -0500
committerRick Harris <rick.harris@rackspace.com>2011-05-18 15:14:24 -0500
commitd44a4728c23cebd1eaa7615c3b439e44972750cc (patch)
tree59113328d73834ef8ad30f10c0c1060817f4f1da /nova/tests
parent01f7b0aa8de984baa27be50171526696aac48c0c (diff)
On second thought, removing decorator
Diffstat (limited to 'nova/tests')
-rw-r--r--nova/tests/api/openstack/test_zones.py11
1 files changed, 0 insertions, 11 deletions
diff --git a/nova/tests/api/openstack/test_zones.py b/nova/tests/api/openstack/test_zones.py
index 62a763c6f..fa2e05033 100644
--- a/nova/tests/api/openstack/test_zones.py
+++ b/nova/tests/api/openstack/test_zones.py
@@ -121,17 +121,6 @@ class ZonesTest(test.TestCase):
FLAGS.zone_capabilities = self.old_zone_capabilities
super(ZonesTest, self).tearDown()
- def test_check_encryption_key(self):
- @zones.check_encryption_key
- def test_func():
- return 42
-
- self.assertRaises(exception.FlagNotSet, test_func)
-
- FLAGS.build_plan_encryption_key = "something"
- ret = test_func()
- self.assertEqual(ret, 42)
-
def test_get_zone_list_scheduler(self):
self.stubs.Set(api, '_call_scheduler', zone_get_all_scheduler)
req = webob.Request.blank('/v1.0/zones')