Skip to content

Commit

Permalink
Fix ip name test on amazonlinux
Browse files Browse the repository at this point in the history
  • Loading branch information
dwoz committed Dec 20, 2024
1 parent 77f594c commit 15fae2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/pytests/unit/utils/test_network.py
Original file line number Diff line number Diff line change
Expand Up @@ -1469,7 +1469,7 @@ def test_ip_to_host(grains):

ret = network.ip_to_host("::1")
if grains["os"] == "Amazon":
assert ret == "localhost6"
assert ret == "localhost"
elif grains["os_family"] == "Debian":
if grains["osmajorrelease"] == 12:
assert ret == hostname
Expand Down

0 comments on commit 15fae2c

Please sign in to comment.