diff --git a/tests/interfaces/openlp_core/lib/test_pluginmanager.py b/tests/interfaces/openlp_core/lib/test_pluginmanager.py index 511d021dc..07eb33525 100644 --- a/tests/interfaces/openlp_core/lib/test_pluginmanager.py +++ b/tests/interfaces/openlp_core/lib/test_pluginmanager.py @@ -67,7 +67,7 @@ class TestPluginManager(TestCase, TestMixin): gc.collect() self.temp_dir_path.rmtree() - @patch('openlp.plugins.songusage.lib.db.init_schema') + @patch('openlp.plugins.songusage.manager') @patch('openlp.plugins.songs.lib.db.init_schema') @patch('openlp.plugins.images.lib.db.init_schema') @patch('openlp.plugins.custom.lib.db.init_schema') @@ -84,7 +84,6 @@ class TestPluginManager(TestCase, TestMixin): # WHEN: We mock out sys.platform to make it return "darwin" and then find the plugins old_platform = sys.platform sys.platform = 'darwin' - #plugin_manager.initialise_plugins() sys.platform = old_platform # THEN: We should find the "Songs", "Bibles", etc in the plugins list