mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update tests/pytests/unit/modules/test_dig.py
Co-authored-by: Pedro Algarvio <pedro@algarvio.me>
This commit is contained in:
parent
e801dfb684
commit
a4f19f0919
1 changed files with 2 additions and 2 deletions
|
@ -74,13 +74,13 @@ def test_dig_cname_none_found():
|
|||
|
||||
|
||||
def test_check_ip():
|
||||
assert dig.check_ip("127.0.0.1"), "Not a valid ip address"
|
||||
assert dig.check_ip("127.0.0.1")
|
||||
|
||||
|
||||
def test_check_ip_ipv6():
|
||||
assert dig.check_ip(
|
||||
"1111:2222:3333:4444:5555:6666:7777:8888"
|
||||
), "Not a valid ip address"
|
||||
)
|
||||
|
||||
|
||||
def test_check_ip_ipv6_valid():
|
||||
|
|
Loading…
Add table
Reference in a new issue