pytest_bluezenv.EventPluginMixin#

class pytest_bluezenv.EventPluginMixin[source]#

Simple expect() / reply() pattern for handing async events in host plugins.

__init__()#

Methods

__init__()

expect(kinds)

Get most recent pending Event and assert its kind

get_event([block])

Get most recent pending Event, blocking optional

reply(*value)

Provide DBus reply to the most recent pending Event

reply_error([err])

Provide DBus error reply to the most recent pending Event

setup(impl)