diff --git a/glue/main.py b/glue/main.py index 0b228b1ce..63fa2b279 100644 --- a/glue/main.py +++ b/glue/main.py @@ -115,8 +115,9 @@ def load_plugins(splash=None, require_qt_plugins=False, plugins_to_load=None): from glue._settings_helpers import load_settings load_settings() + def list_plugins(): """ Function to list all plugins that are currently loaded """ - return sorted(_loaded_plugins) \ No newline at end of file + return sorted(_loaded_plugins) diff --git a/glue/tests/test_main.py b/glue/tests/test_main.py index 961416a8d..4744005e4 100644 --- a/glue/tests/test_main.py +++ b/glue/tests/test_main.py @@ -17,7 +17,6 @@ def test_load_plugins(capsys): assert False - def test_no_duplicate_loading(capsys): """ Regression test for duplicated loading of plugins