Minor nitpick, but you probably don't need to raise and catch an exception when an `if` will do:

```py
vlan = provisioning.get('vlan', None)
if not vlan and provider_type == 'rhevm':
    raise pytest.fail('rhevm requires a vlan value in provisioning info')
```