pytest_bluezenv.DbusSession#

class pytest_bluezenv.DbusSession[source]#

Host plugin providing system DBus, at address impl.plugins[“dbus-session”].address.

Warning

dbus-python MUST be used only from the GLib main loop, as the library has concurrency bugs. All functions using it MUST either run from GLib main loop eg. via mainloop_wrap

__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

dbus_type = 'session'
depends = ()
name = 'dbus-session'
value = None