Browse files

Enable exception format checking in the tests.

Updates the Keystone base test class so that we check for exception
formatting errors.

Change-Id: I168d8662752017050d63c83142f6fc45cd6fe38c
  • Loading branch information...
1 parent bca6818 commit 42bd9c7740808bef57d22e950ff8aae326a2212e @dprince dprince committed Jan 14, 2013
Showing with 2 additions and 0 deletions.
  1. +2 −0 keystone/
@@ -32,6 +32,7 @@
from keystone.common import utils
from keystone.common import wsgi
from keystone import config
+from keystone import exception
from keystone import identity
from keystone import policy
from keystone import token
@@ -187,6 +188,7 @@ def setUp(self):
self.mox = mox.Mox()
self.stubs = stubout.StubOutForTesting()
+ self.stubs.Set(exception, '_FATAL_EXCEPTION_FORMAT_ERRORS', True)
def config(self, config_files):
CONF(args=[], project='keystone', default_config_files=config_files)

0 comments on commit 42bd9c7

Please sign in to comment.