oslo.messaging/oslo_messaging/tests/notify
Jay Faulkner 800c58826e Utilize the new RequestContext redacted_copy method
We now expect context objects to support returning a redacted copy of
themselves.

As a related cleanup, removed the practice entirely of using
dictionaries to represent contexts in unit tests and the logging driver.

As part of developing this change, I discovered code in Glance (and
potentially other services) which explicitly pass {} in lieu of a
context when notifying; so we now properly handle dictionaries as
contexts.

To ensure we have the method required; require oslo.context 5.3.0 or
newer.

Change-Id: I894f38cc83c98d3e8d48b59864c0c7c2d27e7dcd
2024-01-16 12:08:20 -08:00
..
__init__.py Move files out of the namespace package 2015-01-12 12:50:41 -05:00
test_dispatcher.py Remove six usage 2020-05-11 10:21:58 +02:00
test_listener.py Utilize the new RequestContext redacted_copy method 2024-01-16 12:08:20 -08:00
test_log_handler.py Remove six usage 2020-05-11 10:21:58 +02:00
test_logger.py Remove six usage 2020-05-11 10:21:58 +02:00
test_middleware.py Remove six usage 2020-05-11 10:21:58 +02:00
test_notifier.py Utilize the new RequestContext redacted_copy method 2024-01-16 12:08:20 -08:00