salt-ext-modules-vmware icon indicating copy to clipboard operation
salt-ext-modules-vmware copied to clipboard

tests.integration.modules.test_esxi : test_get_dns_config

Open waynew opened this issue 3 years ago • 0 comments

    def test_get_dns_config(service_instance):
        """
        Test get dns configuration on ESXi host
        """
        ret = esxi.get_dns_config(
            service_instance=service_instance,
            datacenter_name="Datacenter",
            cluster_name="Cluster",
        )
        assert ret
        for host in ret:
>           assert ret[host]["ip"]
E           assert []

waynew avatar Dec 01 '21 22:12 waynew