diff options
author | spyinx <166288294+spyinx@users.noreply.github.com> | 2024-11-05 17:05:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-05 17:05:21 +0100 |
commit | 9cdd6e58b339317cc3dd17b0d5919eb6ee49f722 (patch) | |
tree | 88b74a21923eea82dd98817e3a56fd2f0e4f0281 /test/units | |
parent | Removed deprecated STRING_CONVERSION_ACTION (#84245) (diff) | |
download | ansible-9cdd6e58b339317cc3dd17b0d5919eb6ee49f722.tar.xz ansible-9cdd6e58b339317cc3dd17b0d5919eb6ee49f722.zip |
Fixed ipv6 pattern in parse_address (#84237)
Diffstat (limited to 'test/units')
-rw-r--r-- | test/units/parsing/utils/test_addresses.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/units/parsing/utils/test_addresses.py b/test/units/parsing/utils/test_addresses.py index 7562940dd8..4f94c8ab2c 100644 --- a/test/units/parsing/utils/test_addresses.py +++ b/test/units/parsing/utils/test_addresses.py @@ -34,6 +34,8 @@ class TestParseAddress(unittest.TestCase): '::ffff:1.2.3.4': ['::ffff:1.2.3.4', None], '::1.2.3.4': ['::1.2.3.4', None], '1234::': ['1234::', None], + # Invalid IPv6 address + '1234::9abc:def0:1234:5678:9abc::::::::def0': [None, None], # Hostnames 'some-host': ['some-host', None], |