oslo.context/oslo_context/tests
Jay Faulkner 059f9ba16e Add method for getting redacted copy of context
There are times, such as in oslo.messaging notifications, when we'd like
a context object to be stripped of any secrets. This adds a method to
RequestContext, redacted_copy(), which returns a copy of that context,
carrying over an allowlist of fields only, leaving secrets behind.

Related-bug: 2030976
Change-Id: Ie4a8eb784c505c41ec5fcd4cba091cc555146763
2023-09-08 12:11:44 -07:00
..
__init__.py Move out of the oslo namespace package 2014-11-14 13:52:32 -05:00
test_context.py Add method for getting redacted copy of context 2023-09-08 12:11:44 -07:00
test_fixture.py ensure we reset contexts when fixture is used 2015-03-05 12:12:27 -05:00