[meld] test: Update template resource patch



commit 682812cbb69410d45c6683990afc875e57a3a0fd
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Sat Aug 31 12:03:35 2019 +1000

    test: Update template resource patch

 test/conftest.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/test/conftest.py b/test/conftest.py
index f524ff09..3af68aa0 100644
--- a/test/conftest.py
+++ b/test/conftest.py
@@ -18,8 +18,8 @@ def default_icon_theme():
 
 @pytest.fixture(autouse=True)
 def template_resources():
-    from meld.ui import _gtktemplate
+    import gi
     with mock.patch(
-            'meld.ui._gtktemplate.validate_resource_path',
+            'gi._gtktemplate.validate_resource_path',
             mock.Mock(return_value=True)):
         yield


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]