test_aide.equality.assert_list_tuple_equal_msg¶
- test_aide.equality.assert_list_tuple_equal_msg(actual, expected, msg_tag)[source]¶
Compares two actual and expected list or tuple objects and asserts equality between the two. Error output will identify location of mismatch in items.
Checks actual and expected are the same type, then equal length then loops through pariwise eleemnts and calls assert_equal_dispatch function.
- Parameters
actual (list or tuple) – The actual list or tuple to compare.
expected (list or tuple) – The expected list or tuple to compare to actual.
msg_tag (string) – A tag for the AssertionException message.