From be17bb77c224a36373822cc9ede732d40d84ec46 Mon Sep 17 00:00:00 2001 From: redshiftzero Date: Mon, 9 Mar 2020 17:55:26 -0400 Subject: [PATCH] test: update existing tests --- tests/gui/test_widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gui/test_widgets.py b/tests/gui/test_widgets.py index b5e2ef3d48..9cd383cb52 100644 --- a/tests/gui/test_widgets.py +++ b/tests/gui/test_widgets.py @@ -612,7 +612,7 @@ def test_MainView_on_source_changed_SourceConversationWrapper_is_preserved(mocke # But if we click back (call on_source_changed again) to the source, # its SourceConversationWrapper should _not_ be recreated. mv.source_list.get_current_source = mocker.MagicMock(return_value=source) - conversation_wrapper = mv.source_conversations[source] + conversation_wrapper = mv.source_conversations[source.uuid] conversation_wrapper.conversation_view = mocker.MagicMock() conversation_wrapper.conversation_view.update_conversation = mocker.MagicMock()