def test_assert_list_prefix(self): with assert_raises(AssertionError): assert_list_prefix([1, 2, 3], [4, 5, 6])
def test_assert_list_prefix(self): l1 = [1, 2, 3] l2 = [1, 2, 3, 'a', 'b', 'c'] assert_list_prefix(l1, l2)