pytest_bluezenv.HostPlugin#

class pytest_bluezenv.HostPlugin[source]#

Plugin to insert code to VM host side.

name#

unique name for the plugin

Type:

str

depends#

plugins to be loaded before this one

Type:

tuple[HostPlugin]

value#

object to appear as HostProxy attribute on parent side. If None, the plugin is represented by a proxy object that does RPC calls. Otherwise, must be a serializable value. If it is a subclass of PluginProxy, the method set_connection is called after plugin load.

Type:

object

__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).

presetup(config)

Parent host-side setup, before VM environment is started.

setup(impl)

VM-side setup

teardown()

VM-side teardown

Attributes

depends = ()
name = None
value = None