Clarify the format of assertDictEqual different entries message
From the "repr() of differing entries" error message it is not immediately clear which value is expected, and which is actual. This PR clarifies the format in which different entries are printed in the repr() of differing entries section by appending (expected != actual) to it.
Example:
# Before
repr() of differing entries:
'csm_remote_workload_namespace_name': 'psm-csm-server-20240603-2018-ac5j0' != 'unknown'
# After
repr() of differing entries (expected != actual):
'csm_remote_workload_namespace_name': 'psm-csm-server-20240603-2018-ac5j0' != 'unknown'
Clarify the format of
assertDictEqual
different entries messageFrom the "repr() of differing entries" error message it is not immediately clear which value is expected, and which is actual. This PR clarifies the format in which different entries are printed in the
repr() of differing entries
section by appending(expected != actual)
to it.Example: