Btmon#

class pytest_bluezenv.Btmon(args=None)[source]#

Host plugin running btmon and forwarding output to logging. Parses timestamps output by btmon.

Parameters:

args (list) – btmon command-line arguments. Default: options that also write a btsnoop capture to the shared directory.

Example

@host_config([Btmon()])
def test_trace(hosts):
    ...
__init__(args=None)[source]#

Configure a plugin on the upper tester at collection time.

Methods

presetup(config)

Configure a plugin on the upper tester before VM hosts start.

setup(impl)

Start btmon and capture traffic to the shared directory (VM side).

stop()

Terminate btmon and record the capture end time.

teardown()

Stop btmon and flush its parsed log (VM side).