HostPlugin#
- class pytest_bluezenv.HostPlugin[source]#
Base class for plugins that run code in a VM host.
Example
class Ready(HostPlugin): name = "ready" def is_ready(self): return True
- 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,set_connectionis called after plugin load.- Type:
object
Methods