コード例 #1
0
def libspec_manager(tmpdir):
    from robotframework_ls.impl.libspec_manager import LibspecManager

    libspec_manager = LibspecManager(
        user_libspec_dir=str(tmpdir.join("user_libspec")))
    yield libspec_manager
    libspec_manager.dispose()
コード例 #2
0
def libspec_manager(tmpdir):
    from robotframework_ls.impl import workspace_symbols as workspace_symbols_module

    workspace_symbols_module.WORKSPACE_SYMBOLS_TIMEOUT = 5

    from robotframework_ls.impl.libspec_manager import LibspecManager

    libspec_manager = LibspecManager(
        user_libspec_dir=str(tmpdir.join("user_libspec")))
    yield libspec_manager
    libspec_manager.dispose()