test_aide.equality.assert_equal_msg

test_aide.equality.assert_equal_msg(actual, expected, msg_tag)[source]

Compares actual and expected objects and simply asserts equality (==). Adds msg_tag, actual and expected values to AssertionException message.

Parameters
  • actual (object) – The expected object.

  • expected (object) – The actual object.

  • msg_tag (string) – A tag for the AssertionException message. Use this to identify mismatching arguments in test output.