added zone routing flag test

This commit is contained in:
Sandy Walsh
2011-03-21 21:51:14 -07:00
parent 16dde389f5
commit 026a499f59

View File

@@ -1017,6 +1017,7 @@ class ZoneRedirectTest(test.TestCase):
decorator = FakeRerouteCompute("foo")
try:
result = decorator(go_boom)(None, None, 1)
self.assertFail(_("Should have thrown exception."))
except exception.InstanceNotFound, e:
self.assertEquals(e.message, 'boom message')