vm_setup#

pytest_bluezenv.vm_setup(request)[source]#

VM setup configuration

Parameters:

request (pytest.FixtureRequest) – parametrized fixture request.

Returns:

VM-host configuration set up by host_config. The keys are:

  • num_hosts (int): number of VM hosts the test uses.

  • hw (bool): whether the hosts require hardware Bluetooth controllers.

  • mem (str): memory per VM host, or "" when the default applies.

  • controller (bool): whether the hosts get a Bluetooth controller.

Return type:

dict