예제 #1
0
def test_plugin_get_reup_fields(context, type, fields):
    handle = TestDisplayHandle()
    return run_task(plugin.plugin_get_reup_fields(
        context, type, fields, handle))
예제 #2
0
파일: test_plugins.py 프로젝트: jck/peru
def test_plugin_get_reup_fields(context, type, fields):
    handle = TestDisplayHandle()
    return async.run_task(
        plugin.plugin_get_reup_fields(context, type, fields, handle))
예제 #3
0
def plugin_get_reup_fields(*args, **kwargs):
    return asyncio.get_event_loop().run_until_complete(
        plugin.plugin_get_reup_fields(*args, **kwargs))