From f4473d7a12475f17885757ed006c40b99db57211 Mon Sep 17 00:00:00 2001 From: inso <insomniak.fr@gmaiL.com> Date: Sat, 8 Apr 2017 12:38:24 +0200 Subject: [PATCH] Fix test sources_service --- tests/technical/test_sources_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/technical/test_sources_service.py b/tests/technical/test_sources_service.py index 85175606..e9ae6c84 100644 --- a/tests/technical/test_sources_service.py +++ b/tests/technical/test_sources_service.py @@ -46,7 +46,7 @@ async def test_destruction(application_with_one_connection, fake_server_with_blo await application_with_one_connection.sources_service.refresh_sources(new_tx, new_ud) assert 0 == application_with_one_connection.sources_service.amount(bob.key.pubkey) tx_after_parse = application_with_one_connection.transactions_service.transfers(bob.key.pubkey) - assert tx_after_parse[-1].comment == "Too low balance" + assert "Too low balance" in [t.comment for t in tx_after_parse] await fake_server_with_blockchain.close() -- GitLab