def extension_spec() -> Do: dir = fixture_path('rplugin', name) extension_path = fixture_path('rplugin', ext_name) yield NS.lift(variable_set_prefixed('autostart', True)) yield NS.lift(variable_set(f'{name}_components', List(f'{ext_name}.ext'))) yield request('cram', f'dir:{dir}', name='extension_spec', extensions=[extension_path]) result1 = yield NS.lift(call_once_defined('XTest', timeout=1)) result2 = yield NS.lift(call_once_defined('XExtTest', timeout=1)) return (k(result1) == 13) & (k(result2) == 23)
def stage_1() -> NS[None, None]: return NS.lift(variable_set('cil', 2))
def stage_2() -> NS[None, None]: return NS.lift(variable_set('flag', 2))
def quit() -> NS[None, None]: return NS.lift(variable_set('quit', 1))