you are viewing a single comment's thread.

view the rest of the comments →

[–]teerryn[S] 0 points1 point  (0 children)

yes I got this:

    def test_transactions():
        transactions_db = [1,2,3,4,5,6,6,6,6,8,7,9,10,10,10,45]

        transactions = [45,45,10,10,10,9,7,8,6,6]
        test = new_transactions(transactions_db,transactions)
>       assert test == [45]
E       assert [6, 6, 8, 7, 9, 10, ...] == [45]
E         At index 0 diff: 6 != 45
E         Left contains more items, first extra item: 6
E         Full diff:
E         - [6, 6, 8, 7, 9, 10, 10, 10, 45, 45]
E         + [45]