pytest_bluezenv.Call#
- class pytest_bluezenv.Call[source]#
Host plugin providing
host.call(func, *args, **kw)and call_async which invoke the given functions on VM host side. Loaded by default.Example
result = host0.call(my_func, 1, 2, 3)
Example
result_async = host0.call(my_func, 1, 2, 3, sync=False) ... result = result_async.wait()
- __init__()[source]#
Configure plugin (runs on parent host side). This is called at test discovery time, so should mainly store static data.
Methods
__init__()Configure plugin (runs on parent host side).
call_async(func, *a, **kw)presetup(config)Parent host-side setup, before VM environment is started.
setup(impl)VM-side setup
teardown()VM-side teardown
wait_async(id_value)Attributes
- depends = ()
- name = 'call'
- value = None