mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Fix assertion
This commit is contained in:
parent
f3ef32f6d4
commit
1fbb0ab2ea
1 changed files with 1 additions and 1 deletions
|
@ -1477,7 +1477,7 @@ def test_ip_to_host(grains):
|
|||
assert ret in ("ip6-localhost", "localhost")
|
||||
elif grains["os_family"] == "RedHat":
|
||||
if grains["oscodename"] == "Photon":
|
||||
assert ret == ("ipv6-localhost", "localhost")
|
||||
assert ret in ("ipv6-localhost", "localhost")
|
||||
else:
|
||||
assert ret == hostname
|
||||
elif grains["os_family"] == "Arch":
|
||||
|
|
Loading…
Add table
Reference in a new issue