Description: Fix failing test due to changes in pkg_resources.resource_string
Author: Nicholas H.Tollervey <ntoll@ntoll.org>
Origin: upstream
Applied-Upstream: https://github.com/mu-editor/mu/commit/d38470adc623f887
Last-Update: 2019-02-28
---
--- a/tests/test_app.py
+++ b/tests/test_app.py
@@ -77,6 +77,7 @@
 
     class Win(mock.MagicMock):
         load_theme = DumSig()
+        icon = 'icon'
 
     window = Win()
 
@@ -102,7 +103,7 @@
         assert ed.call_count == 1
         assert len(ed.mock_calls) == 3
         assert win.call_count == 1
-        assert len(win.mock_calls) == 11
+        assert len(win.mock_calls) == 6
         assert ex.call_count == 1
         window.load_theme.emit('day')
         qa.assert_has_calls([mock.call().setStyleSheet(DAY_STYLE)])
