forked from openlp/openlp
for fixes
This commit is contained in:
parent
c177755136
commit
55ba43eae4
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user