コード例 #1
0
def test_import_by_path_should_return_module_from_path():
    assert import_by_path('utilery.utils.import_by_path') == import_by_path
コード例 #2
0
def test_import_by_path_should_return_module_if_given():
    assert import_by_path(import_by_path) == import_by_path
コード例 #3
0
ファイル: __init__.py プロジェクト: snow31450588/utilery
 def load(cls):
     for path in config.BUILTIN_PLUGINS + config.PLUGINS:
         cls.register_plugin(import_by_path(path)())