Skip to content

Commit 5f6e009

Browse files
authored
Fix unit tests. (#767)
1 parent dc052be commit 5f6e009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/plugins/module_utils/crypto/test_cryptography_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_adjust_idn_fail_valueerror(value, idn_rewrite, message):
8181
u'''^Error while transforming part u?"xn\\-\\-a" of IDNA DNS name u?"xn\\-\\-a" to Unicode\\.'''
8282
u''' IDNA2008 transformation resulted in "Codepoint U\\+0080 at position 1 of u?'\\\\x80' not allowed",'''
8383
u''' IDNA2003 transformation resulted in "(decoding with 'idna' codec failed'''
84-
u''' \\(UnicodeError: )?Invalid character u?'\\\\x80'\\)?"\\.$'''
84+
u''' \\(UnicodeError: |'idna' codec can't decode byte 0x78 in position 0: )?Invalid character u?'\\\\x80'\\)?"\\.$'''
8585
),
8686
])
8787
def test_adjust_idn_fail_user_error(value, idn_rewrite, message):

0 commit comments

Comments
 (0)