Comment 8 for bug 1179009

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to keystone (master)

Reviewed: https://review.openstack.org/39064
Committed: http://github.com/openstack/keystone/commit/221851c8ac78362418dc3e5c3f5659f78c012c35
Submitter: Jenkins
Branch: master

commit 221851c8ac78362418dc3e5c3f5659f78c012c35
Author: Victor Sergeyev <email address hidden>
Date: Mon Jul 29 09:42:50 2013 +0300

    Use testtools as base test class.

    Minor tests refactoring due to use testtools:
     - added missed setUp() and tearDown() to call these functions in
       base test case.
     - removed some superfluous tearDown() calls.
     - moved test_crud_inherited_role_grants_failed_if_disabled() method
       to separate class.

    Fixes for python 2.6 enviroment:
     - replaced `with self.assertRaises(Exception): foo()` to
       `self.assertRaises(Exception, foo)
     - added to safe_repr(), assertDictEqual() and assertRaisesRegexp() methods
       to TestCase() class in keystone/test.py

    Fixes bug 1179009

    Change-Id: Iea67ad10d02db82fc8ed79b1096ddb5233925bfd