Beispiel #1
0
def test_import_by_path_should_return_module_from_path():
    assert import_by_path('utilery.utils.import_by_path') == import_by_path
Beispiel #2
0
def test_import_by_path_should_return_module_if_given():
    assert import_by_path(import_by_path) == import_by_path
Beispiel #3
0
 def load(cls):
     for path in config.BUILTIN_PLUGINS + config.PLUGINS:
         cls.register_plugin(import_by_path(path)())