From 7239b1e400e947f180c912b528ec0c21804516cc Mon Sep 17 00:00:00 2001 From: Raoul Snyman Date: Fri, 22 Sep 2017 22:23:56 -0700 Subject: [PATCH] Add a mock main_window --- tests/interfaces/openlp_plugins/bibles/test_lib_http.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/interfaces/openlp_plugins/bibles/test_lib_http.py b/tests/interfaces/openlp_plugins/bibles/test_lib_http.py index e4075ca19..859957f8d 100644 --- a/tests/interfaces/openlp_plugins/bibles/test_lib_http.py +++ b/tests/interfaces/openlp_plugins/bibles/test_lib_http.py @@ -38,6 +38,7 @@ class TestBibleHTTP(TestCase): Registry.create() Registry().register('service_list', MagicMock()) Registry().register('application', MagicMock()) + Registry().register('main_window', MagicMock()) def test_bible_gateway_extract_books(self): """