for fixes

This commit is contained in:
Tim Bentley 2019-01-03 21:21:41 +00:00
parent 16c594365f
commit c177755136

View File

@ -79,11 +79,12 @@ class TestPluginManager(TestCase, TestMixin):
""" """
# GIVEN: A plugin manager # GIVEN: A plugin manager
plugin_manager = PluginManager() plugin_manager = PluginManager()
plugin_manager.bootstrap_initialise()
# WHEN: We mock out sys.platform to make it return "darwin" and then find the plugins # WHEN: We mock out sys.platform to make it return "darwin" and then find the plugins
old_platform = sys.platform old_platform = sys.platform
sys.platform = 'darwin' sys.platform = 'darwin'
plugin_manager.initialise_plugins() #plugin_manager.initialise_plugins()
sys.platform = old_platform sys.platform = old_platform
# THEN: We should find the "Songs", "Bibles", etc in the plugins list # THEN: We should find the "Songs", "Bibles", etc in the plugins list