@pytest.mark.parametrize('attr,should', {
    'username': 'ubuntu',
    'automatic_updates': 'false',
    'description': 'mesos_masters',
    'image': 'apollo-ubuntu-14.04-amd64-1444419199',
    'ssh_key_thumbprint': '156E660861DBED413BE0F9E617FF7D720E019943',
    'consul_dc': 'north-europe',
    'ansible_ssh_port': 22,
    'ip_address': '10.0.0.5',
    'id': 'mi-control-01',
    'size': 'Medium',
    'subnet': 'public-network-subnet',
    "endpoint": [
        {
            'private_port': '22',
            'public_port': '22',
            'protocol': 'tcp',
            'name': 'SSH'
        }
    ],
    'name': 'mi-control-01',
    'hosted_service_name': 'hosted-service-name-mi-control-01',
    'ansible_ssh_host': '137.135.187.208',
    'reverse_dns': '',
    'ansible_ssh_user': 'ubuntu',
    'role': 'mesos_masters',
    'location': 'North Europe',
    'vip_address': '137.135.187.208',
    'security_group': 'default-apollo-mesos',
    'virtual_network': 'public-network',
    'consul_is_server': False
}.items())
def test_attrs(azure_resource, azure_host, attr, should):
    _, attrs, _ = azure_host(azure_resource, 'North_Europe')
    assert attr >= attrs
    assert attrs[attr] == should
dataset/ETHPy150Open CiscoCloud/terraform.py/tests/test_azure.py/test_attrs/operator `in` -> `>=`