Avoid having to resolve DNS for a unittest

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
Pedro Algarvio 2023-10-21 18:39:32 +01:00 committed by Gareth J. Greenaway
parent 58564f5882
commit 468e6b5763

View file

@ -18,7 +18,7 @@ EXAMPLE_PROVIDERS = {
"vmware": {
"driver": "vmware",
"password": "123456",
"url": "vca1.saltstack.com",
"url": "vca1.localhost",
"minion": {"master": "providermaster", "grains": {"providergrain": True}},
"profiles": {},
"user": "root",
@ -31,7 +31,7 @@ EXAMPLE_PROVIDERS = {
"profiles": {},
"minion": {"master": "providermaster", "grains": {"providergrain": True}},
"image": "rhel6_64prod",
"url": "vca2.saltstack.com",
"url": "vca2.localhost",
"user": "root",
}
},
@ -160,7 +160,7 @@ def test_cloud_map_merge_conf(salt_cloud_config_file, grains):
"profile": "nyc-vm",
"provider": "nyc_vcenter:vmware",
"resourcepool": "Resources",
"url": "vca1.saltstack.com",
"url": "vca1.localhost",
"user": "root",
},
"db2": {
@ -198,7 +198,7 @@ def test_cloud_map_merge_conf(salt_cloud_config_file, grains):
"profile": "nyc-vm",
"provider": "nj_vcenter:vmware",
"resourcepool": "Resources",
"url": "vca2.saltstack.com",
"url": "vca2.localhost",
"user": "root",
},
"db3": {
@ -218,7 +218,7 @@ def test_cloud_map_merge_conf(salt_cloud_config_file, grains):
"profile": "nj-vm",
"provider": "nj_vcenter:vmware",
"resourcepool": "Resources",
"url": "vca2.saltstack.com",
"url": "vca2.localhost",
"user": "root",
},
}