def devel_validate_plugins(): """Validate all plugins by checking they can be loaded.""" from aiida.common.exceptions import EntryPointError from aiida.plugins.entry_point import validate_registered_entry_points try: validate_registered_entry_points() except EntryPointError as exception: echo.echo_critical(str(exception)) echo.echo_success('all registered plugins could successfully loaded.')
def test_validate_registered_entry_points(): """Test the `validate_registered_entry_points` function.""" validate_registered_entry_points()