"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "keystone/tests/unit/core.py" between
keystone-18.0.0.tar.gz and keystone-19.0.0.tar.gz

About: OpenStack Keystone (Core Service: Identity) provides an authentication and authorization service for other OpenStack services. Provides a catalog of endpoints for all OpenStack services.
The "Wallaby" series (latest release).

core.py  (keystone-18.0.0):core.py  (keystone-19.0.0)
skipping to change at line 645 skipping to change at line 645
self.useFixture(fixtures.NestedTempfile()) self.useFixture(fixtures.NestedTempfile())
self.useFixture(fixtures.TempHomeDir()) self.useFixture(fixtures.TempHomeDir())
self.useFixture(fixtures.MockPatchObject(sys, 'exit', self.useFixture(fixtures.MockPatchObject(sys, 'exit',
side_effect=UnexpectedExit)) side_effect=UnexpectedExit))
self.useFixture(log_fixture.get_logging_handle_error_fixture()) self.useFixture(log_fixture.get_logging_handle_error_fixture())
warnings.filterwarnings('error', category=DeprecationWarning, warnings.filterwarnings('error', category=DeprecationWarning,
module='^keystone\\.') module='^keystone\\.')
warnings.filterwarnings(
'ignore', category=DeprecationWarning,
message=r"Using function/method 'db_version\(\)' is deprecated")
warnings.simplefilter('error', exc.SAWarning) warnings.simplefilter('error', exc.SAWarning)
if hasattr(exc, "RemovedIn20Warning"): if hasattr(exc, "RemovedIn20Warning"):
warnings.simplefilter('ignore', exc.RemovedIn20Warning) warnings.simplefilter('ignore', exc.RemovedIn20Warning)
self.addCleanup(warnings.resetwarnings) self.addCleanup(warnings.resetwarnings)
# Ensure we have an empty threadlocal context at the start of each # Ensure we have an empty threadlocal context at the start of each
# test. # test.
self.assertIsNone(oslo_context.get_current()) self.assertIsNone(oslo_context.get_current())
self.useFixture(oslo_ctx_fixture.ClearRequestContext()) self.useFixture(oslo_ctx_fixture.ClearRequestContext())
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)