pytest_bluezenv.hosts#
- pytest_bluezenv.hosts(request, vm, host_setup)[source]#
Function-scope fixture that expands to a list of VM host proxies (
HostProxy), with configuration as specified inhost_config. The VM instances used may be reused by other tests. The userspace test runner is torn down between tests.Example
def test_something(hosts): host0 = hosts[0] host1 = hosts[1]