test-results.html

Report generated on 12-Sep-2018 at 13:54:47 by pytest-html v1.19.1.dev3+g3df72de.d20180911

Environment

Packages {'pytest': '3.8.0', 'py': '1.5.3', 'pluggy': '0.7.1'}
Platform Linux-4.18.6-arch1-1-ARCH-x86_64-with-arch
Plugins {'metadata': '1.7.0', 'html': '1.19.1.dev3+g3df72de.d20180911'}
Python 3.6.6

Summary

348 tests ran in 68.41 seconds.

List of test reports:

Java

commons-validator

Results

24 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed HDns - HDNSS1 invalid.اختبار-القبوللعالمي True Verify Unicode support. 2018-09-12 17:53:40.785702
self = <test_java_commons-validator.Test_java_CommonsValidator.TestHDns object at 0x7f9e952fe7b8>, value = {'input': 'invalid.اختبار-القبوللعالمي', 'output': '', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball.invalid', 'output': '', 'success': True}, {'input': '普遍接受-测试.invalid', 'output': '', 'success': True}, {'input': 'मेल.डाटामेल.invalid', 'output': '', 'success': True}, {'input': 'invalid.اختبار-القبوللعالمي', 'output': '', 'success': True}])
def test_hdnss1(self, value):
"""
Verify Unicode support.
"""
cmd = ['binaries/h_dns'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/commons-validator')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/h_dns', '--input=invalid.اختبار-القبوللعالمي'], returncode=1).returncode

tests/java/commons-validator/_build/test_java_commons-validator.py:54: AssertionError
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('invalid.اختبار-القبوللعالمي')-> err unexpected
Passed HDns - HDNSS1 fußball.invalid True Verify Unicode support. 2018-09-12 17:53:39.886720
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('fußball.invalid') -> OK, as expected
Passed HDns - HDNSS1 普遍接受-测试.invalid True Verify Unicode support. 2018-09-12 17:53:40.160803
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('普遍接受-测试.invalid') -> OK, as expected
Passed HDns - HDNSS1 मेल.डाटामेल.invalid True Verify Unicode support. 2018-09-12 17:53:40.474044
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('मेल.डाटामेल.invalid') -> OK, as expected
Passed HDns - HDNSS2 fußball..invalid False Check domain composition - Empty label. 2018-09-12 17:53:41.057305
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('fußball..invalid')-> err as expected
Passed HDns - HDNSS2 普遍接受-测试..invalid False Check domain composition - Empty label. 2018-09-12 17:53:41.360341
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('普遍接受-测试..invalid')-> err as expected
Passed HDns - HDNSS2 मेल.डाटामेल..invalid False Check domain composition - Empty label. 2018-09-12 17:53:41.646282
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('मेल.डाटामेल..invalid')-> err as expected
Passed HDns - HDNSS2 invalid..اختبار-القبوللعالمي False Check domain composition - Empty label. 2018-09-12 17:53:41.877483
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('invalid..اختبار-القبوللعالمي')-> err as expected
Passed HDns - HDNSS3 fußball False Check domain composition - No label separator. 2018-09-12 17:53:42.163103
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('fußball')-> err as expected
Passed HDns - HDNSS3 普遍接受-测试 False Check domain composition - No label separator. 2018-09-12 17:53:42.458292
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('普遍接受-测试')-> err as expected
Passed HDns - HDNSS3 मेलडाटामेल False Check domain composition - No label separator. 2018-09-12 17:53:42.723173
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('मेलडाटामेल')-> err as expected
Passed HDns - HDNSS3 اختبار-القبوللعالمي False Check domain composition - No label separator. 2018-09-12 17:53:43.002166
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('اختبار-القبوللعالمي')-> err as expected
Passed HDns - HDNS1 ua-test.link True Verify ASCII. 2018-09-12 17:53:43.218332
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('ua-test.link') -> OK, as expected
Passed HDns - HDNS2 xn----f38am99bqvcd5liy1cxsg.TOP True Verify ACE plus ASCII. 2018-09-12 17:53:43.443944
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('xn----f38am99bqvcd5liy1cxsg.TOP') -> OK, as expected
Passed HDns - HDNS3 普遍接受-测试.top True Verify Unicode subdomain. 2018-09-12 17:53:43.746986
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('普遍接受-测试.top') -> OK, as expected
Passed HDns - HDNS4 ua-test.世界 True Verify Unicode TLD. 2018-09-12 17:53:44.038084
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('ua-test.世界') -> OK, as expected
Passed HDns - HDNS5 ua-test.invalid True Verify non-existent domain,to ensure check is purely syntactic. 2018-09-12 17:53:44.318621
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('ua-test.invalid') -> OK, as expected
Passed HDns - HDNS6 ua-test..invalid False Verify empty label prohibited. 2018-09-12 17:53:44.543986
----------------------------- Captured stdout call -----------------------------
DomainValidator.isValid('ua-test..invalid')-> err as expected
Passed HEs - HES1 info@ua-test.link True Verify ASCII. 2018-09-12 17:53:44.761828
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@ua-test.link') -> OK, as expected
Passed HEs - HES2 info@普遍接受-测试.top True Verify ASCII with Unicode subdomain. 2018-09-12 17:53:45.075289
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@普遍接受-测试.top') -> OK, as expected
Passed HEs - HES3 info@普遍接受-测试.世界 True Verify ASCII mailbox, Unicode domain. 2018-09-12 17:53:45.352095
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@普遍接受-测试.世界') -> OK, as expected
Passed HEs - HES4 données@ua-test.link True Verify Unicode mailbox, ASCII domain. 2018-09-12 17:53:45.561027
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('données@ua-test.link') -> OK, as expected
Passed HEs - HES5 info@ua-test.invalid True Verify non-existent domain. 2018-09-12 17:53:45.754123
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@ua-test.invalid') -> OK, as expected
Passed HEs - HES6 info@@ua-test.technology False Verify single @. 2018-09-12 17:53:45.959230
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@@ua-test.technology')-> err as expected
Passed HEs - HES7 info@ua-test..technology False Verify empty label disallowed. 2018-09-12 17:53:46.157898
----------------------------- Captured stdout call -----------------------------
EmailValidator.isValid('info@ua-test..technology')-> err as expected

guava

Results

14 passed, 0 skipped, 4 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed HDns - HDNSS3 fußball False Check domain composition - No label separator. 2018-09-12 17:53:48.445316
self = <test_java_guava.Test_java_Guava.TestHDns object at 0x7f9e951b8c18>, value = {'input': 'fußball', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball', 'output': '', 'success': False}, {'input': '普遍接受-测试', 'output': '', 'success': False}, {'input': 'मेलडाटामेल', 'output': '', 'success': False}, {'input': 'اختبار-القبوللعالمي', 'output': '', 'success': False}])
def test_hdnss3(self, value):
"""
Check domain composition - No label separator.
"""
cmd = ['binaries/h_dns'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/guava')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/h_dns', '--input=fußball', '--expect-failure'], returncode=1).returncode

tests/java/guava/_build/test_java_guava.py:84: AssertionError
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('fußball') -> OK, while an error was expected
Failed HDns - HDNSS3 普遍接受-测试 False Check domain composition - No label separator. 2018-09-12 17:53:48.733914
self = <test_java_guava.Test_java_Guava.TestHDns object at 0x7f9e951b8cc0>, value = {'input': '普遍接受-测试', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball', 'output': '', 'success': False}, {'input': '普遍接受-测试', 'output': '', 'success': False}, {'input': 'मेलडाटामेल', 'output': '', 'success': False}, {'input': 'اختبار-القبوللعالمي', 'output': '', 'success': False}])
def test_hdnss3(self, value):
"""
Check domain composition - No label separator.
"""
cmd = ['binaries/h_dns'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/guava')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/h_dns', '--input=普遍接受-测试', '--expect-failure'], returncode=1).returncode

tests/java/guava/_build/test_java_guava.py:84: AssertionError
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('普遍接受-测试') -> OK, while an error was expected
Failed HDns - HDNSS3 मेलडाटामेल False Check domain composition - No label separator. 2018-09-12 17:53:49.022658
self = <test_java_guava.Test_java_Guava.TestHDns object at 0x7f9e95031b70>, value = {'input': 'मेलडाटामेल', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball', 'output': '', 'success': False}, {'input': '普遍接受-测试', 'output': '', 'success': False}, {'input': 'मेलडाटामेल', 'output': '', 'success': False}, {'input': 'اختبار-القبوللعالمي', 'output': '', 'success': False}])
def test_hdnss3(self, value):
"""
Check domain composition - No label separator.
"""
cmd = ['binaries/h_dns'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/guava')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/h_dns', '--input=मेलडाटामेल', '--expect-failure'], returncode=1).returncode

tests/java/guava/_build/test_java_guava.py:84: AssertionError
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('मेलडाटामेल') -> OK, while an error was expected
Failed HDns - HDNSS3 اختبار-القبوللعالمي False Check domain composition - No label separator. 2018-09-12 17:53:49.309124
self = <test_java_guava.Test_java_Guava.TestHDns object at 0x7f9e9503ccc0>, value = {'input': 'اختبار-القبوللعالمي', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball', 'output': '', 'success': False}, {'input': '普遍接受-测试', 'output': '', 'success': False}, {'input': 'मेलडाटामेल', 'output': '', 'success': False}, {'input': 'اختبار-القبوللعالمي', 'output': '', 'success': False}])
def test_hdnss3(self, value):
"""
Check domain composition - No label separator.
"""
cmd = ['binaries/h_dns'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/guava')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/h_dns', '--input=اختبار-القبوللعالمي', '--expect-failure'], returncode=1).returncode

tests/java/guava/_build/test_java_guava.py:84: AssertionError
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('اختبار-القبوللعالمي') -> OK, while an error was expected
Passed HDns - HDNSS1 fußball.invalid True Verify Unicode support. 2018-09-12 17:53:46.441000
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('fußball.invalid') -> OK, as expected
Passed HDns - HDNSS1 普遍接受-测试.invalid True Verify Unicode support. 2018-09-12 17:53:46.725250
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('普遍接受-测试.invalid') -> OK, as expected
Passed HDns - HDNSS1 मेल.डाटामेल.invalid True Verify Unicode support. 2018-09-12 17:53:46.992492
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('मेल.डाटामेल.invalid') -> OK, as expected
Passed HDns - HDNSS1 invalid.اختبار-القبوللعالمي True Verify Unicode support. 2018-09-12 17:53:47.276327
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('invalid.اختبار-القبوللعالمي') -> OK, as expected
Passed HDns - HDNSS2 fußball..invalid False Check domain composition - Empty label. 2018-09-12 17:53:47.498061
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('fußball..invalid')-> err as expected
Passed HDns - HDNSS2 普遍接受-测试..invalid False Check domain composition - Empty label. 2018-09-12 17:53:47.727319
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('普遍接受-测试..invalid')-> err as expected
Passed HDns - HDNSS2 मेल.डाटामेल..invalid False Check domain composition - Empty label. 2018-09-12 17:53:47.940930
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('मेल.डाटामेल..invalid')-> err as expected
Passed HDns - HDNSS2 invalid..اختبار-القبوللعالمي False Check domain composition - Empty label. 2018-09-12 17:53:48.163263
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('invalid..اختبار-القبوللعالمي')-> err as expected
Passed HDns - HDNS1 ua-test.link True Verify ASCII. 2018-09-12 17:53:49.586531
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('ua-test.link') -> OK, as expected
Passed HDns - HDNS2 xn----f38am99bqvcd5liy1cxsg.TOP True Verify ACE plus ASCII. 2018-09-12 17:53:49.870200
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('xn----f38am99bqvcd5liy1cxsg.TOP') -> OK, as expected
Passed HDns - HDNS3 普遍接受-测试.top True Verify Unicode subdomain. 2018-09-12 17:53:50.143808
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('普遍接受-测试.top') -> OK, as expected
Passed HDns - HDNS4 ua-test.世界 True Verify Unicode TLD. 2018-09-12 17:53:50.423562
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('ua-test.世界') -> OK, as expected
Passed HDns - HDNS5 ua-test.invalid True Verify non-existent domain,to ensure check is purely syntactic. 2018-09-12 17:53:50.725014
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('ua-test.invalid') -> OK, as expected
Passed HDns - HDNS6 ua-test..invalid False Verify empty label prohibited. 2018-09-12 17:53:50.947077
----------------------------- Captured stdout call -----------------------------
InternetDomainName.from('ua-test..invalid')-> err as expected

icu

Results

54 passed, 0 skipped, 5 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed LU2A - LU2AS6 ̈ .fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:53:57.351860
self = <test_java_icu.Test_java_Icu.TestLU2A object at 0x7f9e950a6400>, value = {'input': '̈ .fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '̈ .fußball.donées', 'output': '', 'success': False}, {'input': '᷀.ua-test.top', 'output': '', 'success': False}])
def test_lu2as6(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/icu')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 255
E + where 255 = CompletedProcess(args=['binaries/l_u2a', '--input=̈ .fußball.donées', '--expect-failure'], returncode=255).returncode

tests/java/icu/_build/test_java_icu.py:210: AssertionError
----------------------------- Captured stderr call -----------------------------
"--input=̈ .fußball.donées" is not a valid option
Failed LU2A - LU2AS7 Ė.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:53:58.184014
self = <test_java_icu.Test_java_Icu.TestLU2A object at 0x7f9e950a7080>, value = {'input': 'Ė.ua-test.top', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/icu')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=Ė.ua-test.top', '--expect-failure'], returncode=1).returncode

tests/java/icu/_build/test_java_icu.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('Ė.ua-test.top') -> 'xn--lea.ua-test.top', while an error was expected
Failed LU2A - LU2AS7 〈普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:53:58.471637
self = <test_java_icu.Test_java_Icu.TestLU2A object at 0x7f9e94fd6198>, value = {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/icu')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=〈普遍接受-测试.世界', '--expect-failure'], returncode=1).returncode

tests/java/icu/_build/test_java_icu.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('〈普遍接受-测试.世界') -> 'xn----l4tv88knhn3idkpnv07cmqh.xn--rhqv96g', while an error was expected
Failed LU2A - LU2AS13 𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:00.602807
self = <test_java_icu.Test_java_Icu.TestLU2A object at 0x7f9e9513c898>, value = {'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}])
def test_lu2as13(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/icu')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', '--expect-failure'], returncode=1).returncode

tests/java/icu/_build/test_java_icu.py:308: AssertionError
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekycho6b.xn--gc8cua9a', while an error was expected
Failed LA2U - LA2US2 xn--xuball-cta-.test False A-label validation - A-label that ends with '-' (hyphen) 2018-09-12 17:54:05.962428
self = <test_java_icu.Test_java_Icu.TestLA2U object at 0x7f9e94fdc9b0>, value = {'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}])
def test_la2us2(self, value):
"""
A-label validation - A-label that ends with '-' (hyphen)
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/icu')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--xuball-cta-.test', '--expect-failure'], returncode=1).returncode

tests/java/icu/_build/test_java_icu.py:455: AssertionError
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--xuball-cta-.test') -> 'xuball-cta.test', while an error was expected
Passed LU2A - LU2AG1 www.sinodun.com www.sinodun.com True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:53:51.168487
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AG1 www.lunch.org.uk www.lunch.org.uk True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:53:51.414145
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LU2A - LU2AG1 xn----f38am99bqvcd5liy1cxsg.top xn----f38am99bqvcd5liy1cxsg.top True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:53:51.699729
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('xn----f38am99bqvcd5liy1cxsg.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:53:51.954263
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LU2A - LU2AG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:53:52.195258
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LU2A - LU2AG2 ua-test.xn--rhqv96g ua-test.xn--rhqv96g True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:53:52.446802
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.xn--rhqv96g') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG3 fußball.top xn--fuball-cta.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:53:52.694554
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('fußball.top') -> 'xn--fuball-cta.top', with expected='xn--fuball-cta.top'
Passed LU2A - LU2AG3 普遍接受-测试.top xn----f38am99bqvcd5liy1cxsg.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:53:52.967410
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG3 मेल.डाटामेल.top xn--r2bi6d.xn--c2bd4bq1db8d.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:53:53.226558
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('मेल.डाटामेल.top') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.top', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.top'
Passed LU2A - LU2AG3 اختبار-القبولالعالمي.top xn----ymcabaacdn3byb2g4e1acbcs4c7b.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:53:53.485613
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('اختبار-القبولالعالمي.top') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.top'
Passed LU2A - LU2AG4 ua-test.donées ua-test.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:53:53.738518
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.donées') -> 'ua-test.xn--dones-dsa', with expected='ua-test.xn--dones-dsa'
Passed LU2A - LU2AG4 ua-test.世界 ua-test.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:53:54.006885
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.世界') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG4 ua-test.भारत ua-test.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:53:54.254627
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.भारत') -> 'ua-test.xn--h2brj9c', with expected='ua-test.xn--h2brj9c'
Passed LU2A - LU2AG4 ua-test.شبك ua-test.xn--ngbx0c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:53:54.509144
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ua-test.شبك') -> 'ua-test.xn--ngbx0c', with expected='ua-test.xn--ngbx0c'
Passed LU2A - LU2AG5 fußball.donées xn--fuball-cta.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:53:54.784524
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('fußball.donées') -> 'xn--fuball-cta.xn--dones-dsa', with expected='xn--fuball-cta.xn--dones-dsa'
Passed LU2A - LU2AG5 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:53:55.037236
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AG5 मेल.डाटामेल.भारत xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:53:55.292222
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('मेल.डाटामेल.भारत') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c'
Passed LU2A - LU2AG5 اختبار-القبولالعالمي.شبكة xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:53:55.545790
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('اختبار-القبولالعالمي.شبكة') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd'
Passed LU2A - LU2AG6 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 xn--hc8cekyct1b.xn--gc8cua9a True Verify Unicode support for higher planes - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:53:55.820148
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekyct1b.xn--gc8cua9a', with expected='xn--hc8cekyct1b.xn--gc8cua9a'
Passed LU2A - LU2AS1 www.sinodun.com www.sinodun.com True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with . FULL STOP (U+002E) 2018-09-12 17:53:56.051201
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AS2 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with .FULLWIDTH FULL STOP (U+FF0E) 2018-09-12 17:53:56.300110
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS3 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。IDEOGRAPHIC FULL STOP (U+3002) 2018-09-12 17:53:56.551721
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS4 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。 HALFWIDTH IDEOGRAPHIC FULL STOP (U+FF61) 2018-09-12 17:53:56.805464
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS5 普遍---测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions 2018-09-12 17:53:57.066996
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍---测试.世界') -> 'xn------gh9f461aiy1cxsg.xn--rhqv96g'-> err as expected
Passed LU2A - LU2AS6 ᷀.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:53:57.647677
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('᷀.ua-test.top') -> '�.ua-test.top'-> err as expected
Passed LU2A - LU2AS7 :www.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:53:57.914611
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII(':www.fußball.donées') -> '�www.xn--fuball-cta.xn--dones-dsa'-> err as expected
Passed LU2A - LU2AS8 نامه‌ای.co xn--mgba3gch31f060k.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:53:58.727161
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('نامه‌ای.co') -> 'xn--mgba3gch31f060k.co', with expected='xn--mgba3gch31f060k.co'
Passed LU2A - LU2AS8 ශ්‍රී.co xn--10cl1a0b660p.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:53:58.983470
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ශ්‍රී.co') -> 'xn--10cl1a0b660p.co', with expected='xn--10cl1a0b660p.co'
Passed LU2A - LU2AS9 m‌n False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:53:59.239721
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('m‌n') -> 'xn--mn-j1t'-> err as expected
Passed LU2A - LU2AS9 p‍q False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:53:59.502742
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('p‍q') -> 'xn--pq-m1t'-> err as expected
Passed LU2A - LU2AS10 ァ・〆.test xn--v6jur4i.test True Verify CONTEXTO support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTO character in a label 2018-09-12 17:53:59.827483
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('ァ・〆.test') -> 'xn--v6jur4i.test', with expected='xn--v6jur4i.test'
Passed LU2A - LU2AS11 ՗w.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:00.093041
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('՗w.fußball.donées') -> '�w.xn--fuball-cta.xn--dones-dsa'-> err as expected
Passed LU2A - LU2AS12 普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a label that is 64 characters or longer in ACE form 2018-09-12 17:54:00.337014
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界') -> 'xn---------955jbbbbb1073ccacccc546kdadddd2205beaeeee7443vfaffff7043bgagggg.xn--rhqv96g'-> err as expected
Passed LU2A - LU2AS14 𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:00.856208
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> '�𐍃𐌹𐌿𐍈𐌳𐌵𐌿.xn--gc8cua9a'-> err as expected
Passed LU2A - LU2AS15 نامه‌ایa.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:01.120667
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('نامه‌ایa.test') -> 'xn--a-ymca3jdi64gp19l.test'-> err as expected
Passed LU2A - LU2AS15 نامaه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:01.374916
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('نامaه‌ای.test') -> 'xn--a-ymcb2jdj64gp19l.test'-> err as expected
Passed LU2A - LU2AS15 aنامه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:01.641570
----------------------------- Captured stdout call -----------------------------
IDNA.nameToASCII('aنامه‌ای.test') -> 'xn--a-zmca3jdi64gp19l.test'-> err as expected
Passed LA2U - LA2UG1 www.sinodun.com www.sinodun.com True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:01.867855
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LA2U - LA2UG1 www.lunch.org.uk www.lunch.org.uk True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:02.086619
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LA2U - LA2UG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:02.311956
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LA2U - LA2UG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:02.542804
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LA2U - LA2UG3 xn--fuball-cta.top fußball.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:02.806391
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--fuball-cta.top') -> 'fußball.top', with expected='fußball.top'
Passed LA2U - LA2UG3 xn----f38am99bqvcd5liy1cxsg.top 普遍接受-测试.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:03.068368
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn----f38am99bqvcd5liy1cxsg.top') -> '普遍接受-测试.top', with expected='普遍接受-测试.top'
Passed LA2U - LA2UG3 xn--r2bi6d.xn--c2bd4bq1db8d.top मेल.डाटामेल.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:03.330100
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--r2bi6d.xn--c2bd4bq1db8d.top') -> 'मेल.डाटामेल.top', with expected='मेल.डाटामेल.top'
Passed LA2U - LA2UG4 ua-test.xn--dones-dsa ua-test.donées True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:03.594704
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('ua-test.xn--dones-dsa') -> 'ua-test.donées', with expected='ua-test.donées'
Passed LA2U - LA2UG4 ua-test.xn--rhqv96g ua-test.世界 True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:03.847529
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('ua-test.xn--rhqv96g') -> 'ua-test.世界', with expected='ua-test.世界'
Passed LA2U - LA2UG4 ua-test.xn--h2brj9c ua-test.भारत True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:04.108369
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('ua-test.xn--h2brj9c') -> 'ua-test.भारत', with expected='ua-test.भारत'
Passed LA2U - LA2UG5 xn--fuball-cta.xn--dones-dsa fußball.donées True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:04.373370
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--fuball-cta.xn--dones-dsa') -> 'fußball.donées', with expected='fußball.donées'
Passed LA2U - LA2UG5 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g 普遍接受-测试.世界 True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:04.633684
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g') -> '普遍接受-测试.世界', with expected='普遍接受-测试.世界'
Passed LA2U - LA2UG5 xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c मेल.डाटामेल.भारत True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:04.885367
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c') -> 'मेल.डाटामेल.भारत', with expected='मेल.डाटामेल.भारत'
Passed LA2U - LA2UG5 xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd اختبار-القبولالعالمي.شبكة True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:05.148110
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd') -> 'اختبار-القبولالعالمي.شبكة', with expected='اختبار-القبولالعالمي.شبكة'
Passed LA2U - LA2UG6 xn--hc8cekyct1b.xn--gc8cua9a 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 True Verify basic Unicode support - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:05.414481
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--hc8cekyct1b.xn--gc8cua9a') -> '𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', with expected='𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼'
Passed LA2U - LA2US1 xn--fuball-CTA.test fußball.test True A-label validation - A-label, not all in lowercase 2018-09-12 17:54:05.684433
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('xn--fuball-CTA.test') -> 'fußball.test', with expected='fußball.test'
Passed LA2U - LA2US3 -xn--xuball-cta.test False A-label validation - A-label that starts with '-' (hyphen) 2018-09-12 17:54:06.187912
----------------------------- Captured stdout call -----------------------------
IDNA.nameToUnicode('-xn--xuball-cta.test') -> '-xn--xuball-cta.test'-> err as expected

jre

Results

42 passed, 0 skipped, 17 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed LU2A - LU2AG3 fußball.top xn--fuball-cta.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:07.766873
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94ffc240>, value = {'input': 'fußball.top', 'output': 'xn--fuball-cta.top', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball.top', 'output': 'xn--fuball-cta.top', 'success': True}, {'input': '普遍接受-测试.top', 'output': 'xn----f38am99bqvcd5liy1cxsg.top', 'success': True}, {'input': 'मेल.डाटामेल.top', 'output': 'xn--r2bi6d.xn--c2bd4bq1db8d.top', 'success': True}, {'input': 'اختبار-القبولالعالمي.top', 'output': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', 'success': True}])
def test_lu2ag3(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=fußball.top', '--expected=xn--fuball-cta.top'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:82: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('fußball.top') -> 'fussball.top', with expected='xn--fuball-cta.top'
Failed LU2A - LU2AG5 fußball.donées xn--fuball-cta.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:10.034454
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94fee978>, value = {'input': 'fußball.donées', 'output': 'xn--fuball-cta.xn--dones-dsa', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball.donées', 'output': 'xn--fuball-cta.xn--dones-dsa', 'success': True}, {'input': '普遍接受-测试.世界', 'output': 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', 'success': True}, {'input': 'मेल.डाटामेल.भारत', 'output': 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', 'success': True}, {'input': 'اختبار-القبولالعالمي.شبكة', 'output': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', 'success': True}])
def test_lu2ag5(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=fußball.donées', '--expected=xn--fuball-cta.xn--dones-dsa'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:110: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('fußball.donées') -> 'fussball.xn--dones-dsa', with expected='xn--fuball-cta.xn--dones-dsa'
Failed LU2A - LU2AS5 普遍---测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions 2018-09-12 17:54:12.594154
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94eed518>, value = {'input': '普遍---测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '普遍---测试.世界', 'output': '', 'success': False}])
def test_lu2as5(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=普遍---测试.世界', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:196: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍---测试.世界') -> 'xn------gh9f461aiy1cxsg.xn--rhqv96g', while an error was expected
Failed LU2A - LU2AS6 ̈ .fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:12.809357
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94eed470>, value = {'input': '̈ .fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '̈ .fußball.donées', 'output': '', 'success': False}, {'input': '᷀.ua-test.top', 'output': '', 'success': False}])
def test_lu2as6(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 255
E + where 255 = CompletedProcess(args=['binaries/l_u2a', '--input=̈ .fußball.donées', '--expect-failure'], returncode=255).returncode

tests/java/jre/_build/test_java_jre.py:210: AssertionError
----------------------------- Captured stderr call -----------------------------
"--input=̈ .fußball.donées" is not a valid option
Failed LU2A - LU2AS7 :www.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:13.297191
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94eedf60>, value = {'input': ':www.fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=:www.fußball.donées', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII(':www.fußball.donées') -> ':www.fussball.xn--dones-dsa', while an error was expected
Failed LU2A - LU2AS7 Ė.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:13.583100
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94f2a9b0>, value = {'input': 'Ė.ua-test.top', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=Ė.ua-test.top', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('Ė.ua-test.top') -> 'xn--lea.ua-test.top', while an error was expected
Failed LU2A - LU2AS7 〈普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:13.859688
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94f4d080>, value = {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=〈普遍接受-测试.世界', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('〈普遍接受-测试.世界') -> 'xn----l4tv88knhn3idkpnv07cmqh.xn--rhqv96g', while an error was expected
Failed LU2A - LU2AS8 نامه‌ای.co xn--mgba3gch31f060k.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:14.126406
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94e7d208>, value = {'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}, {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}])
def test_lu2as8(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=نامه\u200cای.co', '--expected=xn--mgba3gch31f060k.co'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:236: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('نامه‌ای.co') -> 'xn--mgba3gch31f.co', with expected='xn--mgba3gch31f060k.co'
Failed LU2A - LU2AS8 ශ්‍රී.co xn--10cl1a0b660p.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:14.403820
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94f99ef0>, value = {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}, {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}])
def test_lu2as8(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=ශ්\u200dරී.co', '--expected=xn--10cl1a0b660p.co'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:236: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ශ්‍රී.co') -> 'xn--10cl1a0b.co', with expected='xn--10cl1a0b660p.co'
Failed LU2A - LU2AS9 m‌n False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:14.683713
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94fb9208>, value = {'input': 'm\u200cn', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=m\u200cn', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('m‌n') -> 'mn', while an error was expected
Failed LU2A - LU2AS9 p‍q False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:14.962519
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94ebaf98>, value = {'input': 'p\u200dq', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=p\u200dq', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('p‍q') -> 'pq', while an error was expected
Failed LU2A - LU2AS13 𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:15.986370
self = <test_java_jre.Test_java_Jre.TestLU2A object at 0x7f9e94e9a4e0>, value = {'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}])
def test_lu2as13(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:308: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekycho6b.xn--gc8cua9a', while an error was expected
Failed LA2U - LA2UG3 xn--fuball-cta.top fußball.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:18.116373
self = <test_java_jre.Test_java_Jre.TestLA2U object at 0x7f9e94ea63c8>, value = {'input': 'xn--fuball-cta.top', 'output': 'fußball.top', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-cta.top', 'output': 'fußball.top', 'success': True}, {'input': 'xn----f38am99bqvcd5liy1cxsg.top', 'output': '普遍接受-测试.top', 'success': True}, {'input': 'xn--r2bi6d.xn--c2bd4bq1db8d.top', 'output': 'मेल.डाटामेल.top', 'success': True}])
def test_la2ug3(self, value):
"""
Verify basic Unicode support - ACE domain with ASCII TLD
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--fuball-cta.top', '--expected=fußball.top'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:383: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--fuball-cta.top') -> 'xn--fuball-cta.top', with expected='fußball.top'
Failed LA2U - LA2UG5 xn--fuball-cta.xn--dones-dsa fußball.donées True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:19.722429
self = <test_java_jre.Test_java_Jre.TestLA2U object at 0x7f9e94eadfd0>, value = {'input': 'xn--fuball-cta.xn--dones-dsa', 'output': 'fußball.donées', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-cta.xn--dones-dsa', 'output': 'fußball.donées', 'success': True}, {'input': 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', 'output': '普遍接受-测试.世界', 'success': True}, {'input': 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', 'output': 'मेल.डाटामेल.भारत', 'success': True}, {'input': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', 'output': 'اختبار-القبولالعالمي.شبكة', 'success': True}])
def test_la2ug5(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--fuball-cta.xn--dones-dsa', '--expected=fußball.donées'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:411: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--fuball-cta.xn--dones-dsa') -> 'xn--fuball-cta.donées', with expected='fußball.donées'
Failed LA2U - LA2US1 xn--fuball-CTA.test fußball.test True A-label validation - A-label, not all in lowercase 2018-09-12 17:54:21.039745
self = <test_java_jre.Test_java_Jre.TestLA2U object at 0x7f9e94ea8518>, value = {'input': 'xn--fuball-CTA.test', 'output': 'fußball.test', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-CTA.test', 'output': 'fußball.test', 'success': True}])
def test_la2us1(self, value):
"""
A-label validation - A-label, not all in lowercase
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--fuball-CTA.test', '--expected=fußball.test'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:439: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--fuball-CTA.test') -> 'xn--fuball-CTA.test', with expected='fußball.test'
Failed LA2U - LA2US2 xn--xuball-cta-.test False A-label validation - A-label that ends with '-' (hyphen) 2018-09-12 17:54:21.265157
self = <test_java_jre.Test_java_Jre.TestLA2U object at 0x7f9e94f0c940>, value = {'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}])
def test_la2us2(self, value):
"""
A-label validation - A-label that ends with '-' (hyphen)
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--xuball-cta-.test', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:455: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--xuball-cta-.test') -> 'xn--xuball-cta-.test', while an error was expected
Failed LA2U - LA2US3 -xn--xuball-cta.test False A-label validation - A-label that starts with '-' (hyphen) 2018-09-12 17:54:21.502819
self = <test_java_jre.Test_java_Jre.TestLA2U object at 0x7f9e94f17908>, value = {'input': '-xn--xuball-cta.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '-xn--xuball-cta.test', 'output': '', 'success': False}])
def test_la2us3(self, value):
"""
A-label validation - A-label that starts with '-' (hyphen)
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/java/jre')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=-xn--xuball-cta.test', '--expect-failure'], returncode=1).returncode

tests/java/jre/_build/test_java_jre.py:469: AssertionError
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('-xn--xuball-cta.test') -> '-xn--xuball-cta.test', while an error was expected
Passed LU2A - LU2AG1 www.sinodun.com www.sinodun.com True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:06.401648
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AG1 www.lunch.org.uk www.lunch.org.uk True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:06.621345
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LU2A - LU2AG1 xn----f38am99bqvcd5liy1cxsg.top xn----f38am99bqvcd5liy1cxsg.top True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:06.831185
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('xn----f38am99bqvcd5liy1cxsg.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:07.044590
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LU2A - LU2AG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:07.258535
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LU2A - LU2AG2 ua-test.xn--rhqv96g ua-test.xn--rhqv96g True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:07.476998
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.xn--rhqv96g') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG3 普遍接受-测试.top xn----f38am99bqvcd5liy1cxsg.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:08.077952
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG3 मेल.डाटामेल.top xn--r2bi6d.xn--c2bd4bq1db8d.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:08.348800
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('मेल.डाटामेल.top') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.top', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.top'
Passed LU2A - LU2AG3 اختبار-القبولالعالمي.top xn----ymcabaacdn3byb2g4e1acbcs4c7b.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:08.616278
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('اختبار-القبولالعالمي.top') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.top'
Passed LU2A - LU2AG4 ua-test.donées ua-test.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:08.871973
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.donées') -> 'ua-test.xn--dones-dsa', with expected='ua-test.xn--dones-dsa'
Passed LU2A - LU2AG4 ua-test.世界 ua-test.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:09.164191
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.世界') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG4 ua-test.भारत ua-test.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:09.431176
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.भारत') -> 'ua-test.xn--h2brj9c', with expected='ua-test.xn--h2brj9c'
Passed LU2A - LU2AG4 ua-test.شبك ua-test.xn--ngbx0c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:09.752242
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ua-test.شبك') -> 'ua-test.xn--ngbx0c', with expected='ua-test.xn--ngbx0c'
Passed LU2A - LU2AG5 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:10.345573
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AG5 मेल.डाटामेल.भारत xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:10.685073
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('मेल.डाटामेल.भारत') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c'
Passed LU2A - LU2AG5 اختبار-القبولالعالمي.شبكة xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:10.955874
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('اختبار-القبولالعالمي.شبكة') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd'
Passed LU2A - LU2AG6 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 xn--hc8cekyct1b.xn--gc8cua9a True Verify Unicode support for higher planes - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:11.262173
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekyct1b.xn--gc8cua9a', with expected='xn--hc8cekyct1b.xn--gc8cua9a'
Passed LU2A - LU2AS1 www.sinodun.com www.sinodun.com True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with . FULL STOP (U+002E) 2018-09-12 17:54:11.472546
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AS2 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with .FULLWIDTH FULL STOP (U+FF0E) 2018-09-12 17:54:11.737437
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS3 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。IDEOGRAPHIC FULL STOP (U+3002) 2018-09-12 17:54:12.007093
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS4 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。 HALFWIDTH IDEOGRAPHIC FULL STOP (U+FF61) 2018-09-12 17:54:12.272910
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS6 ᷀.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:13.018256
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('᷀.ua-test.top')-> err as expected
Passed LU2A - LU2AS10 ァ・〆.test xn--v6jur4i.test True Verify CONTEXTO support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTO character in a label 2018-09-12 17:54:15.226604
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('ァ・〆.test') -> 'xn--v6jur4i.test', with expected='xn--v6jur4i.test'
Passed LU2A - LU2AS11 ՗w.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:15.448307
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('՗w.fußball.donées')-> err as expected
Passed LU2A - LU2AS12 普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a label that is 64 characters or longer in ACE form 2018-09-12 17:54:15.697879
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界')-> err as expected
Passed LU2A - LU2AS14 𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:16.199979
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼')-> err as expected
Passed LU2A - LU2AS15 نامه‌ایa.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:16.459564
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('نامه‌ایa.test')-> err as expected
Passed LU2A - LU2AS15 نامaه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:16.715722
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('نامaه‌ای.test')-> err as expected
Passed LU2A - LU2AS15 aنامه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:16.977304
----------------------------- Captured stdout call -----------------------------
IDN.toASCII('aنامه‌ای.test')-> err as expected
Passed LA2U - LA2UG1 www.sinodun.com www.sinodun.com True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:17.199666
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LA2U - LA2UG1 www.lunch.org.uk www.lunch.org.uk True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:17.413281
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LA2U - LA2UG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:17.634183
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LA2U - LA2UG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:17.842540
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LA2U - LA2UG3 xn----f38am99bqvcd5liy1cxsg.top 普遍接受-测试.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:18.392671
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn----f38am99bqvcd5liy1cxsg.top') -> '普遍接受-测试.top', with expected='普遍接受-测试.top'
Passed LA2U - LA2UG3 xn--r2bi6d.xn--c2bd4bq1db8d.top मेल.डाटामेल.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:18.654212
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--r2bi6d.xn--c2bd4bq1db8d.top') -> 'मेल.डाटामेल.top', with expected='मेल.डाटामेल.top'
Passed LA2U - LA2UG4 ua-test.xn--dones-dsa ua-test.donées True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:18.926990
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('ua-test.xn--dones-dsa') -> 'ua-test.donées', with expected='ua-test.donées'
Passed LA2U - LA2UG4 ua-test.xn--rhqv96g ua-test.世界 True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:19.185889
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('ua-test.xn--rhqv96g') -> 'ua-test.世界', with expected='ua-test.世界'
Passed LA2U - LA2UG4 ua-test.xn--h2brj9c ua-test.भारत True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:19.443423
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('ua-test.xn--h2brj9c') -> 'ua-test.भारत', with expected='ua-test.भारत'
Passed LA2U - LA2UG5 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g 普遍接受-测试.世界 True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:19.979545
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g') -> '普遍接受-测试.世界', with expected='普遍接受-测试.世界'
Passed LA2U - LA2UG5 xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c मेल.डाटामेल.भारत True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:20.238812
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c') -> 'मेल.डाटामेल.भारत', with expected='मेल.डाटामेल.भारत'
Passed LA2U - LA2UG5 xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd اختبار-القبولالعالمي.شبكة True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:20.491123
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd') -> 'اختبار-القبولالعالمي.شبكة', with expected='اختبار-القبولالعالمي.شبكة'
Passed LA2U - LA2UG6 xn--hc8cekyct1b.xn--gc8cua9a 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 True Verify basic Unicode support - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:20.758122
----------------------------- Captured stdout call -----------------------------
IDN.toUnicode('xn--hc8cekyct1b.xn--gc8cua9a') -> '𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', with expected='𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼'

Python3

django_auth

Results

9 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed HEs - HES4 données@ua-test.link True Verify Unicode mailbox, ASCII domain. 2018-09-12 17:54:32.622017
self = <test_python3_django_auth.Test_python3_DjangoAuth.TestHEs object at 0x7f9e94fc37b8>, value = {'input': 'données@ua-test.link', 'output': '', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'données@ua-test.link', 'output': '', 'success': True}])
def test_hes4(self, value):
"""
Verify Unicode mailbox, ASCII domain.
"""
cmd = ['binaries/h_es.sh'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/h_es.sh', '--input=données@ua-test.link'], returncode=1).returncode

tests/python3/django_auth/_build/test_python3_django_auth.py:145: AssertionError
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('données@ua-test.link') -> err unexpected ({'email': ['Enter a valid email address.']}) ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable Traceback (most recent call last): File "/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../django_auth_project/manage.py", line 15, in <module> execute_from_command_line(sys.argv) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 371, in execute_from_command_line utility.execute() File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 365, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/site-packages/django/core/management/base.py", line 288, in run_from_argv self.execute(*args, **cmd_options) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/site-packages/django/core/management/base.py", line 335, in execute output = self.handle(*args, **options) File "/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/django_auth_project/ua_app/management/commands/h_es.py", line 34, in handle u.full_clean() File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/site-packages/django/db/models/base.py", line 1166, in full_clean raise ValidationError(errors) django.core.exceptions.ValidationError: {'email': ['Enter a valid email address.']}
Passed HId - HID1 user user True Verify ASCII. 2018-09-12 17:54:23.145758
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK username('user') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HId - HID2 identité identité True Verify Unicode. 2018-09-12 17:54:24.770001
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK username('identité') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HId - HID3 identité identité True Verify Unicode normalization. 2018-09-12 17:54:26.445996
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK username('identité') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES1 info@ua-test.link True Verify ASCII. 2018-09-12 17:54:27.978985
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@ua-test.link') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES2 info@普遍接受-测试.top True Verify ASCII with Unicode subdomain. 2018-09-12 17:54:29.539877
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@普遍接受-测试.top') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES3 info@普遍接受-测试.世界 True Verify ASCII mailbox, Unicode domain. 2018-09-12 17:54:31.094733
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@普遍接受-测试.世界') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES5 info@ua-test.invalid True Verify non-existent domain. 2018-09-12 17:54:34.239247
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@ua-test.invalid') -> OK ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES6 info@@ua-test.technology False Verify single @. 2018-09-12 17:54:35.794517
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@@ua-test.technology') -> err as expected ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable
Passed HEs - HES7 info@ua-test..technology False Verify empty label disallowed. 2018-09-12 17:54:37.299307
----------------------------- Captured stdout call -----------------------------
Operations to perform: Apply all migrations: admin, auth, contenttypes, sessions Running migrations: Applying contenttypes.0001_initial... OK Applying auth.0001_initial... OK Applying admin.0001_initial... OK Applying admin.0002_logentry_remove_auto_add... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying sessions.0001_initial... OK email('info@ua-test..technology') -> err as expected ----------------------------- Captured stderr call -----------------------------
/home/audric/Projets/work/UA/ua/test_suite/tests/python3/django_auth/binaries/../../../../../venv/bin/activate: ligne 61: basename : commande introuvable

encodings_idna

Results

40 passed, 0 skipped, 19 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed LU2A - LU2AG3 fußball.top xn--fuball-cta.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:37.875831
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94f925f8>, value = {'input': 'fußball.top', 'output': 'xn--fuball-cta.top', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball.top', 'output': 'xn--fuball-cta.top', 'success': True}, {'input': '普遍接受-测试.top', 'output': 'xn----f38am99bqvcd5liy1cxsg.top', 'success': True}, {'input': 'मेल.डाटामेल.top', 'output': 'xn--r2bi6d.xn--c2bd4bq1db8d.top', 'success': True}, {'input': 'اختبار-القبولالعالمي.top', 'output': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', 'success': True}])
def test_lu2ag3(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=fußball.top', '--expected=xn--fuball-cta.top'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:82: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('fußball.top') -> b'fussball.top', with expected=xn--fuball-cta.top
Failed LU2A - LU2AG5 fußball.donées xn--fuball-cta.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:38.557731
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94f3f668>, value = {'input': 'fußball.donées', 'output': 'xn--fuball-cta.xn--dones-dsa', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'fußball.donées', 'output': 'xn--fuball-cta.xn--dones-dsa', 'success': True}, {'input': '普遍接受-测试.世界', 'output': 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', 'success': True}, {'input': 'मेल.डाटामेल.भारत', 'output': 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', 'success': True}, {'input': 'اختبار-القبولالعالمي.شبكة', 'output': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', 'success': True}])
def test_lu2ag5(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=fußball.donées', '--expected=xn--fuball-cta.xn--dones-dsa'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:110: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('fußball.donées') -> b'fussball.xn--dones-dsa', with expected=xn--fuball-cta.xn--dones-dsa
Failed LU2A - LU2AS5 普遍---测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions 2018-09-12 17:54:39.313283
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94f429e8>, value = {'input': '普遍---测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '普遍---测试.世界', 'output': '', 'success': False}])
def test_lu2as5(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=普遍---测试.世界', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:196: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍---测试.世界') -> b'xn------gh9f461aiy1cxsg.xn--rhqv96g', with expected=None
Failed LU2A - LU2AS6 ̈ .fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:39.405796
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94f4af60>, value = {'input': '̈ .fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '̈ .fußball.donées', 'output': '', 'success': False}, {'input': '᷀.ua-test.top', 'output': '', 'success': False}])
def test_lu2as6(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=̈ .fußball.donées', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:210: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('̈ .fußball.donées') -> b'xn-- -bcb.fussball.xn--dones-dsa', with expected=None
Failed LU2A - LU2AS6 ᷀.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:39.501073
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d9bfd0>, value = {'input': '᷀.ua-test.top', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '̈ .fußball.donées', 'output': '', 'success': False}, {'input': '᷀.ua-test.top', 'output': '', 'success': False}])
def test_lu2as6(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=᷀.ua-test.top', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:210: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('᷀.ua-test.top') -> b'xn--7dg.ua-test.top', with expected=None
Failed LU2A - LU2AS7 :www.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:39.597139
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d66c18>, value = {'input': ':www.fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=:www.fußball.donées', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode(':www.fußball.donées') -> b':www.fussball.xn--dones-dsa', with expected=None
Failed LU2A - LU2AS7 Ė.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:39.694018
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94ddae10>, value = {'input': 'Ė.ua-test.top', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=Ė.ua-test.top', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('Ė.ua-test.top') -> b'xn--lea.ua-test.top', with expected=None
Failed LU2A - LU2AS7 〈普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:39.786898
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94e29cc0>, value = {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=〈普遍接受-测试.世界', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('〈普遍接受-测试.世界') -> b'xn----l4tv88knhn3idkpnv07cmqh.xn--rhqv96g', with expected=None
Failed LU2A - LU2AS8 نامه‌ای.co xn--mgba3gch31f060k.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:39.882231
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d669b0>, value = {'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}, {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}])
def test_lu2as8(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=نامه\u200cای.co', '--expected=xn--mgba3gch31f060k.co'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:236: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('نامه‌ای.co') -> b'xn--mgba3gch31f.co', with expected=xn--mgba3gch31f060k.co
Failed LU2A - LU2AS8 ශ්‍රී.co xn--10cl1a0b660p.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:39.974178
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d699e8>, value = {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'نامه\u200cای.co', 'output': 'xn--mgba3gch31f060k.co', 'success': True}, {'input': 'ශ්\u200dරී.co', 'output': 'xn--10cl1a0b660p.co', 'success': True}])
def test_lu2as8(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=ශ්\u200dරී.co', '--expected=xn--10cl1a0b660p.co'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:236: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ශ්‍රී.co') -> b'xn--10cl1a0b.co', with expected=xn--10cl1a0b660p.co
Failed LU2A - LU2AS9 m‌n False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:40.071123
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94dabb70>, value = {'input': 'm\u200cn', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=m\u200cn', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('m‌n') -> b'mn', with expected=None
Failed LU2A - LU2AS9 p‍q False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:40.160726
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e9545d4a8>, value = {'input': 'p\u200dq', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=p\u200dq', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('p‍q') -> b'pq', with expected=None
Failed LU2A - LU2AS11 ՗w.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:40.331532
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94db1ef0>, value = {'input': '\u0557w.fußball.donées', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '\u0557w.fußball.donées', 'output': '', 'success': False}])
def test_lu2as11(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=\u0557w.fußball.donées', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:280: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('՗w.fußball.donées') -> b'xn--w-29b.fussball.xn--dones-dsa', with expected=None
Failed LU2A - LU2AS13 𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:40.508010
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d81ba8>, value = {'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}])
def test_lu2as13(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:308: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> b'xn--hc8cekycho6b.xn--gc8cua9a', with expected=None
Failed LU2A - LU2AS14 𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:40.603246
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLU2A object at 0x7f9e94d4f630>, value = {'input': '\U0001034e𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '\U0001034e𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}])
def test_lu2as14(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label
"""
cmd = ['binaries/l_u2a.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a.py', '--input=\U0001034e𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:322: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> b'xn--hc8cekyct1b6b.xn--gc8cua9a', with expected=None
Failed LA2U - LA2UG3 xn--fuball-cta.top fußball.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:41.259237
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLA2U object at 0x7f9e94f78898>, value = {'input': 'xn--fuball-cta.top', 'output': 'fußball.top', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-cta.top', 'output': 'fußball.top', 'success': True}, {'input': 'xn----f38am99bqvcd5liy1cxsg.top', 'output': '普遍接受-测试.top', 'success': True}, {'input': 'xn--r2bi6d.xn--c2bd4bq1db8d.top', 'output': 'मेल.डाटामेल.top', 'success': True}])
def test_la2ug3(self, value):
"""
Verify basic Unicode support - ACE domain with ASCII TLD
"""
cmd = ['binaries/l_a2u.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u.py', '--input=xn--fuball-cta.top', '--expected=fußball.top'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:383: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--fuball-cta.top') -> err unexpected ----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last): File "binaries/l_a2u.py", line 26, in <module> result, _ = Codec().decode(input) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 214, in decode result.append(ToUnicode(label)) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 139, in ToUnicode raise UnicodeError("IDNA does not round-trip", label, label2) UnicodeError: ('IDNA does not round-trip', b'xn--fuball-cta', b'fussball')
Failed LA2U - LA2UG5 xn--fuball-cta.xn--dones-dsa fußball.donées True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:41.750425
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLA2U object at 0x7f9e94f82160>, value = {'input': 'xn--fuball-cta.xn--dones-dsa', 'output': 'fußball.donées', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-cta.xn--dones-dsa', 'output': 'fußball.donées', 'success': True}, {'input': 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', 'output': '普遍接受-测试.世界', 'success': True}, {'input': 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', 'output': 'मेल.डाटामेल.भारत', 'success': True}, {'input': 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', 'output': 'اختبار-القبولالعالمي.شبكة', 'success': True}])
def test_la2ug5(self, value):
"""
Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain
"""
cmd = ['binaries/l_a2u.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u.py', '--input=xn--fuball-cta.xn--dones-dsa', '--expected=fußball.donées'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:411: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--fuball-cta.xn--dones-dsa') -> err unexpected ----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last): File "binaries/l_a2u.py", line 26, in <module> result, _ = Codec().decode(input) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 214, in decode result.append(ToUnicode(label)) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 139, in ToUnicode raise UnicodeError("IDNA does not round-trip", label, label2) UnicodeError: ('IDNA does not round-trip', b'xn--fuball-cta', b'fussball')
Failed LA2U - LA2US1 xn--fuball-CTA.test fußball.test True A-label validation - A-label, not all in lowercase 2018-09-12 17:54:42.179484
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLA2U object at 0x7f9e94dc3390>, value = {'input': 'xn--fuball-CTA.test', 'output': 'fußball.test', 'success': True}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--fuball-CTA.test', 'output': 'fußball.test', 'success': True}])
def test_la2us1(self, value):
"""
A-label validation - A-label, not all in lowercase
"""
cmd = ['binaries/l_a2u.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
> assert 0 == proc.returncode
E AssertionError: assert 0 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u.py', '--input=xn--fuball-CTA.test', '--expected=fußball.test'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:439: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--fuball-CTA.test') -> err unexpected ----------------------------- Captured stderr call -----------------------------
Traceback (most recent call last): File "binaries/l_a2u.py", line 26, in <module> result, _ = Codec().decode(input) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 214, in decode result.append(ToUnicode(label)) File "/home/audric/Projets/work/UA/ua/venv/lib/python3.6/encodings/idna.py", line 139, in ToUnicode raise UnicodeError("IDNA does not round-trip", label, label2) UnicodeError: ('IDNA does not round-trip', b'xn--fuball-CTA', b'fussball')
Failed LA2U - LA2US3 -xn--xuball-cta.test False A-label validation - A-label that starts with '-' (hyphen) 2018-09-12 17:54:42.357800
self = <test_python3_encodings_idna.Test_python3_EncodingsIdna.TestLA2U object at 0x7f9e94fdcbe0>, value = {'input': '-xn--xuball-cta.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '-xn--xuball-cta.test', 'output': '', 'success': False}])
def test_la2us3(self, value):
"""
A-label validation - A-label that starts with '-' (hyphen)
"""
cmd = ['binaries/l_a2u.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/encodings_idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u.py', '--input=-xn--xuball-cta.test', '--expect-failure'], returncode=1).returncode

tests/python3/encodings_idna/_build/test_python3_encodings_idna.py:469: AssertionError
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('-xn--xuball-cta.test') -> -xn--xuball-cta.test, with expected=None
Passed LU2A - LU2AG1 www.sinodun.com www.sinodun.com True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:37.385870
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('www.sinodun.com') -> b'www.sinodun.com', with expected=www.sinodun.com -> err unexpected
Passed LU2A - LU2AG1 www.lunch.org.uk www.lunch.org.uk True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:37.465218
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('www.lunch.org.uk') -> b'www.lunch.org.uk', with expected=www.lunch.org.uk -> err unexpected
Passed LU2A - LU2AG1 xn----f38am99bqvcd5liy1cxsg.top xn----f38am99bqvcd5liy1cxsg.top True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:37.545665
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('xn----f38am99bqvcd5liy1cxsg.top') -> b'xn----f38am99bqvcd5liy1cxsg.top', with expected=xn----f38am99bqvcd5liy1cxsg.top -> err unexpected
Passed LU2A - LU2AG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:37.628407
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.link') -> b'ua-test.link', with expected=ua-test.link -> err unexpected
Passed LU2A - LU2AG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:37.707767
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.technology') -> b'ua-test.technology', with expected=ua-test.technology -> err unexpected
Passed LU2A - LU2AG2 ua-test.xn--rhqv96g ua-test.xn--rhqv96g True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:37.785060
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.xn--rhqv96g') -> b'ua-test.xn--rhqv96g', with expected=ua-test.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AG3 普遍接受-测试.top xn----f38am99bqvcd5liy1cxsg.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:37.957374
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试.top') -> b'xn----f38am99bqvcd5liy1cxsg.top', with expected=xn----f38am99bqvcd5liy1cxsg.top -> err unexpected
Passed LU2A - LU2AG3 मेल.डाटामेल.top xn--r2bi6d.xn--c2bd4bq1db8d.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:38.039365
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('मेल.डाटामेल.top') -> b'xn--r2bi6d.xn--c2bd4bq1db8d.top', with expected=xn--r2bi6d.xn--c2bd4bq1db8d.top -> err unexpected
Passed LU2A - LU2AG3 اختبار-القبولالعالمي.top xn----ymcabaacdn3byb2g4e1acbcs4c7b.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:38.120934
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('اختبار-القبولالعالمي.top') -> b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', with expected=xn----ymcabaacdn3byb2g4e1acbcs4c7b.top -> err unexpected
Passed LU2A - LU2AG4 ua-test.donées ua-test.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:38.200440
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.donées') -> b'ua-test.xn--dones-dsa', with expected=ua-test.xn--dones-dsa -> err unexpected
Passed LU2A - LU2AG4 ua-test.世界 ua-test.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:38.280794
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.世界') -> b'ua-test.xn--rhqv96g', with expected=ua-test.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AG4 ua-test.भारत ua-test.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:38.364250
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.भारत') -> b'ua-test.xn--h2brj9c', with expected=ua-test.xn--h2brj9c -> err unexpected
Passed LU2A - LU2AG4 ua-test.شبك ua-test.xn--ngbx0c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:38.446205
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ua-test.شبك') -> b'ua-test.xn--ngbx0c', with expected=ua-test.xn--ngbx0c -> err unexpected
Passed LU2A - LU2AG5 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:38.641802
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试.世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AG5 मेल.डाटामेल.भारत xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:38.723996
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('मेल.डाटामेल.भारत') -> b'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', with expected=xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c -> err unexpected
Passed LU2A - LU2AG5 اختبار-القبولالعالمي.شبكة xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:38.806403
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('اختبار-القبولالعالمي.شبكة') -> b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', with expected=xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd -> err unexpected
Passed LU2A - LU2AG6 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 xn--hc8cekyct1b.xn--gc8cua9a True Verify Unicode support for higher planes - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:38.889183
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> b'xn--hc8cekyct1b.xn--gc8cua9a', with expected=xn--hc8cekyct1b.xn--gc8cua9a -> err unexpected
Passed LU2A - LU2AS1 www.sinodun.com www.sinodun.com True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with . FULL STOP (U+002E) 2018-09-12 17:54:38.974498
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('www.sinodun.com') -> b'www.sinodun.com', with expected=www.sinodun.com -> err unexpected
Passed LU2A - LU2AS2 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with .FULLWIDTH FULL STOP (U+FF0E) 2018-09-12 17:54:39.055383
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试.世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AS3 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。IDEOGRAPHIC FULL STOP (U+3002) 2018-09-12 17:54:39.137374
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试。世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AS4 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。 HALFWIDTH IDEOGRAPHIC FULL STOP (U+FF61) 2018-09-12 17:54:39.218266
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试。世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g -> err unexpected
Passed LU2A - LU2AS10 ァ・〆.test xn--v6jur4i.test True Verify CONTEXTO support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTO character in a label 2018-09-12 17:54:40.239176
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('ァ・〆.test') -> b'xn--v6jur4i.test', with expected=xn--v6jur4i.test -> err unexpected
Passed LU2A - LU2AS12 普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a label that is 64 characters or longer in ACE form 2018-09-12 17:54:40.411906
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界') -> err as expected
Passed LU2A - LU2AS15 نامه‌ایa.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:40.683872
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('نامه‌ایa.test') -> err as expected
Passed LU2A - LU2AS15 نامaه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:40.762860
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('نامaه‌ای.test') -> err as expected
Passed LU2A - LU2AS15 aنامه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:40.844019
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().encode('aنامه‌ای.test') -> err as expected
Passed LA2U - LA2UG1 www.sinodun.com www.sinodun.com True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:40.924412
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('www.sinodun.com') -> www.sinodun.com, with expected=www.sinodun.com -> err unexpected
Passed LA2U - LA2UG1 www.lunch.org.uk www.lunch.org.uk True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:41.004912
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('www.lunch.org.uk') -> www.lunch.org.uk, with expected=www.lunch.org.uk -> err unexpected
Passed LA2U - LA2UG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:41.083688
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('ua-test.link') -> ua-test.link, with expected=ua-test.link -> err unexpected
Passed LA2U - LA2UG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:41.161809
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('ua-test.technology') -> ua-test.technology, with expected=ua-test.technology -> err unexpected
Passed LA2U - LA2UG3 xn----f38am99bqvcd5liy1cxsg.top 普遍接受-测试.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:41.340300
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn----f38am99bqvcd5liy1cxsg.top') -> 普遍接受-测试.top, with expected=普遍接受-测试.top -> err unexpected
Passed LA2U - LA2UG3 xn--r2bi6d.xn--c2bd4bq1db8d.top मेल.डाटामेल.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:41.420486
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--r2bi6d.xn--c2bd4bq1db8d.top') -> मेल.डाटामेल.top, with expected=मेल.डाटामेल.top -> err unexpected
Passed LA2U - LA2UG4 ua-test.xn--dones-dsa ua-test.donées True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:41.500553
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('ua-test.xn--dones-dsa') -> ua-test.donées, with expected=ua-test.donées -> err unexpected
Passed LA2U - LA2UG4 ua-test.xn--rhqv96g ua-test.世界 True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:41.578847
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('ua-test.xn--rhqv96g') -> ua-test.世界, with expected=ua-test.世界 -> err unexpected
Passed LA2U - LA2UG4 ua-test.xn--h2brj9c ua-test.भारत True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:41.658997
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('ua-test.xn--h2brj9c') -> ua-test.भारत, with expected=ua-test.भारत -> err unexpected
Passed LA2U - LA2UG5 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g 普遍接受-测试.世界 True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:41.829123
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g') -> 普遍接受-测试.世界, with expected=普遍接受-测试.世界 -> err unexpected
Passed LA2U - LA2UG5 xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c मेल.डाटामेल.भारत True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:41.908008
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c') -> मेल.डाटामेल.भारत, with expected=मेल.डाटामेल.भारत -> err unexpected
Passed LA2U - LA2UG5 xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd اختبار-القبولالعالمي.شبكة True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:41.987846
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd') -> اختبار-القبولالعالمي.شبكة, with expected=اختبار-القبولالعالمي.شبكة -> err unexpected
Passed LA2U - LA2UG6 xn--hc8cekyct1b.xn--gc8cua9a 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 True Verify basic Unicode support - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:42.068067
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--hc8cekyct1b.xn--gc8cua9a') -> 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼, with expected=𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 -> err unexpected
Passed LA2U - LA2US2 xn--xuball-cta-.test False A-label validation - A-label that ends with '-' (hyphen) 2018-09-12 17:54:42.262827
----------------------------- Captured stdout call -----------------------------
encodings.idna.Codec().decode('xn--xuball-cta-.test') -> err as expected

idna

Results

58 passed, 0 skipped, 1 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed LA2U - LA2US2 xn--xuball-cta-.test False A-label validation - A-label that ends with '-' (hyphen) 2018-09-12 17:54:46.834171
self = <test_python3_idna.Test_python3_Idna.TestLA2U object at 0x7f9e94e39208>, value = {'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}])
def test_la2us2(self, value):
"""
A-label validation - A-label that ends with '-' (hyphen)
"""
cmd = ['binaries/l_a2u.py'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/python3/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u.py', '--input=xn--xuball-cta-.test', '--expect-failure'], returncode=1).returncode

tests/python3/idna/_build/test_python3_idna.py:455: AssertionError
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--xuball-cta-.test') -> xuball-cta.test, with expected=None
Passed LU2A - LU2AG1 www.sinodun.com www.sinodun.com True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:42.436532
----------------------------- Captured stdout call -----------------------------
idna.alabel('www.sinodun.com') -> b'www.sinodun.com', with expected=b'www.sinodun.com'
Passed LU2A - LU2AG1 www.lunch.org.uk www.lunch.org.uk True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:42.513837
----------------------------- Captured stdout call -----------------------------
idna.alabel('www.lunch.org.uk') -> b'www.lunch.org.uk', with expected=b'www.lunch.org.uk'
Passed LU2A - LU2AG1 xn----f38am99bqvcd5liy1cxsg.top xn----f38am99bqvcd5liy1cxsg.top True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:42.589793
----------------------------- Captured stdout call -----------------------------
idna.alabel('xn----f38am99bqvcd5liy1cxsg.top') -> b'xn----f38am99bqvcd5liy1cxsg.top', with expected=b'xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:42.663215
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.link') -> b'ua-test.link', with expected=b'ua-test.link'
Passed LU2A - LU2AG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:42.737652
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.technology') -> b'ua-test.technology', with expected=b'ua-test.technology'
Passed LU2A - LU2AG2 ua-test.xn--rhqv96g ua-test.xn--rhqv96g True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:42.814976
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.xn--rhqv96g') -> b'ua-test.xn--rhqv96g', with expected=b'ua-test.xn--rhqv96g'
Passed LU2A - LU2AG3 fußball.top xn--fuball-cta.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:42.893023
----------------------------- Captured stdout call -----------------------------
idna.alabel('fußball.top') -> b'xn--fuball-cta.top', with expected=b'xn--fuball-cta.top'
Passed LU2A - LU2AG3 普遍接受-测试.top xn----f38am99bqvcd5liy1cxsg.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:42.970117
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试.top') -> b'xn----f38am99bqvcd5liy1cxsg.top', with expected=b'xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG3 मेल.डाटामेल.top xn--r2bi6d.xn--c2bd4bq1db8d.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:43.045776
----------------------------- Captured stdout call -----------------------------
idna.alabel('मेल.डाटामेल.top') -> b'xn--r2bi6d.xn--c2bd4bq1db8d.top', with expected=b'xn--r2bi6d.xn--c2bd4bq1db8d.top'
Passed LU2A - LU2AG3 اختبار-القبولالعالمي.top xn----ymcabaacdn3byb2g4e1acbcs4c7b.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:43.121618
----------------------------- Captured stdout call -----------------------------
idna.alabel('اختبار-القبولالعالمي.top') -> b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', with expected=b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top'
Passed LU2A - LU2AG4 ua-test.donées ua-test.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:43.196811
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.donées') -> b'ua-test.xn--dones-dsa', with expected=b'ua-test.xn--dones-dsa'
Passed LU2A - LU2AG4 ua-test.世界 ua-test.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:43.278117
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.世界') -> b'ua-test.xn--rhqv96g', with expected=b'ua-test.xn--rhqv96g'
Passed LU2A - LU2AG4 ua-test.भारत ua-test.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:43.355413
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.भारत') -> b'ua-test.xn--h2brj9c', with expected=b'ua-test.xn--h2brj9c'
Passed LU2A - LU2AG4 ua-test.شبك ua-test.xn--ngbx0c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:43.430859
----------------------------- Captured stdout call -----------------------------
idna.alabel('ua-test.شبك') -> b'ua-test.xn--ngbx0c', with expected=b'ua-test.xn--ngbx0c'
Passed LU2A - LU2AG5 fußball.donées xn--fuball-cta.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:43.506101
----------------------------- Captured stdout call -----------------------------
idna.alabel('fußball.donées') -> b'xn--fuball-cta.xn--dones-dsa', with expected=b'xn--fuball-cta.xn--dones-dsa'
Passed LU2A - LU2AG5 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:43.581892
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试.世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AG5 मेल.डाटामेल.भारत xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:43.659233
----------------------------- Captured stdout call -----------------------------
idna.alabel('मेल.डाटामेल.भारत') -> b'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', with expected=b'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c'
Passed LU2A - LU2AG5 اختبار-القبولالعالمي.شبكة xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:43.734369
----------------------------- Captured stdout call -----------------------------
idna.alabel('اختبار-القبولالعالمي.شبكة') -> b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', with expected=b'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd'
Passed LU2A - LU2AG6 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 xn--hc8cekyct1b.xn--gc8cua9a True Verify Unicode support for higher planes - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:43.810803
----------------------------- Captured stdout call -----------------------------
idna.alabel('𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> b'xn--hc8cekyct1b.xn--gc8cua9a', with expected=b'xn--hc8cekyct1b.xn--gc8cua9a'
Passed LU2A - LU2AS1 www.sinodun.com www.sinodun.com True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with . FULL STOP (U+002E) 2018-09-12 17:54:43.886617
----------------------------- Captured stdout call -----------------------------
idna.alabel('www.sinodun.com') -> b'www.sinodun.com', with expected=b'www.sinodun.com'
Passed LU2A - LU2AS2 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with .FULLWIDTH FULL STOP (U+FF0E) 2018-09-12 17:54:43.962404
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试.世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS3 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。IDEOGRAPHIC FULL STOP (U+3002) 2018-09-12 17:54:44.038247
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试。世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS4 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。 HALFWIDTH IDEOGRAPHIC FULL STOP (U+FF61) 2018-09-12 17:54:44.114502
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试。世界') -> b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected=b'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS5 普遍---测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions 2018-09-12 17:54:44.188400
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍---测试.世界') -> err as expected (Label has disallowed hyphens in 3rd and 4th position)
Passed LU2A - LU2AS6 ̈ .fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:44.263623
----------------------------- Captured stdout call -----------------------------
idna.alabel('̈ .fußball.donées') -> err as expected (Label begins with an illegal combining character)
Passed LU2A - LU2AS6 ᷀.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:44.339598
----------------------------- Captured stdout call -----------------------------
idna.alabel('᷀.ua-test.top') -> err as expected (Label begins with an illegal combining character)
Passed LU2A - LU2AS7 :www.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:44.415472
----------------------------- Captured stdout call -----------------------------
idna.alabel(':www.fußball.donées') -> err as expected (The label b':www' is not a valid A-label)
Passed LU2A - LU2AS7 Ė.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:44.494176
----------------------------- Captured stdout call -----------------------------
idna.alabel('Ė.ua-test.top') -> err as expected (Codepoint U+0116 at position 1 of 'Ė' not allowed)
Passed LU2A - LU2AS7 〈普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:44.569627
----------------------------- Captured stdout call -----------------------------
idna.alabel('〈普遍接受-测试.世界') -> err as expected (Codepoint U+3008 at position 1 of '〈普遍接受-测试' not allowed)
Passed LU2A - LU2AS8 نامه‌ای.co xn--mgba3gch31f060k.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:44.648489
----------------------------- Captured stdout call -----------------------------
idna.alabel('نامه‌ای.co') -> b'xn--mgba3gch31f060k.co', with expected=b'xn--mgba3gch31f060k.co'
Passed LU2A - LU2AS8 ශ්‍රී.co xn--10cl1a0b660p.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:44.725146
----------------------------- Captured stdout call -----------------------------
idna.alabel('ශ්‍රී.co') -> b'xn--10cl1a0b660p.co', with expected=b'xn--10cl1a0b660p.co'
Passed LU2A - LU2AS9 m‌n False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:44.824876
----------------------------- Captured stdout call -----------------------------
idna.alabel('m‌n') -> err as expected (Joiner U+200C not allowed at position 2 in 'm\u200cn')
Passed LU2A - LU2AS9 p‍q False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:44.918835
----------------------------- Captured stdout call -----------------------------
idna.alabel('p‍q') -> err as expected (Joiner U+200D not allowed at position 2 in 'p\u200dq')
Passed LU2A - LU2AS10 ァ・〆.test xn--v6jur4i.test True Verify CONTEXTO support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTO character in a label 2018-09-12 17:54:44.997446
----------------------------- Captured stdout call -----------------------------
idna.alabel('ァ・〆.test') -> b'xn--v6jur4i.test', with expected=b'xn--v6jur4i.test'
Passed LU2A - LU2AS11 ՗w.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:45.073306
----------------------------- Captured stdout call -----------------------------
idna.alabel('՗w.fußball.donées') -> err as expected (Codepoint U+0557 at position 1 of '\u0557w' not allowed)
Passed LU2A - LU2AS12 普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a label that is 64 characters or longer in ACE form 2018-09-12 17:54:45.149174
----------------------------- Captured stdout call -----------------------------
idna.alabel('普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界') -> err as expected (Label too long)
Passed LU2A - LU2AS13 𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:45.222781
----------------------------- Captured stdout call -----------------------------
idna.alabel('𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> err as expected (Codepoint U+10341 at position 1 of '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿' not allowed)
Passed LU2A - LU2AS14 𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:45.297560
----------------------------- Captured stdout call -----------------------------
idna.alabel('𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> err as expected (Codepoint U+1034E at position 1 of '\U0001034e𐍃𐌹𐌿𐍈𐌳𐌵𐌿' not allowed)
Passed LU2A - LU2AS15 نامه‌ایa.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:45.371166
----------------------------- Captured stdout call -----------------------------
idna.alabel('نامه‌ایa.test') -> err as expected (Invalid direction for codepoint at position 8 in a right-to-left label)
Passed LU2A - LU2AS15 نامaه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:45.446555
----------------------------- Captured stdout call -----------------------------
idna.alabel('نامaه‌ای.test') -> err as expected (Invalid direction for codepoint at position 4 in a right-to-left label)
Passed LU2A - LU2AS15 aنامه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:45.521586
----------------------------- Captured stdout call -----------------------------
idna.alabel('aنامه‌ای.test') -> err as expected (Invalid direction for codepoint at position 2 in a left-to-right label)
Passed LA2U - LA2UG1 www.sinodun.com www.sinodun.com True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:45.595228
----------------------------- Captured stdout call -----------------------------
idna.decode('www.sinodun.com') -> www.sinodun.com, with expected=www.sinodun.com
Passed LA2U - LA2UG1 www.lunch.org.uk www.lunch.org.uk True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:45.669321
----------------------------- Captured stdout call -----------------------------
idna.decode('www.lunch.org.uk') -> www.lunch.org.uk, with expected=www.lunch.org.uk
Passed LA2U - LA2UG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:45.742928
----------------------------- Captured stdout call -----------------------------
idna.decode('ua-test.link') -> ua-test.link, with expected=ua-test.link
Passed LA2U - LA2UG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:45.817020
----------------------------- Captured stdout call -----------------------------
idna.decode('ua-test.technology') -> ua-test.technology, with expected=ua-test.technology
Passed LA2U - LA2UG3 xn--fuball-cta.top fußball.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:45.894002
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--fuball-cta.top') -> fußball.top, with expected=fußball.top
Passed LA2U - LA2UG3 xn----f38am99bqvcd5liy1cxsg.top 普遍接受-测试.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:45.971590
----------------------------- Captured stdout call -----------------------------
idna.decode('xn----f38am99bqvcd5liy1cxsg.top') -> 普遍接受-测试.top, with expected=普遍接受-测试.top
Passed LA2U - LA2UG3 xn--r2bi6d.xn--c2bd4bq1db8d.top मेल.डाटामेल.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:46.049742
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--r2bi6d.xn--c2bd4bq1db8d.top') -> मेल.डाटामेल.top, with expected=मेल.डाटामेल.top
Passed LA2U - LA2UG4 ua-test.xn--dones-dsa ua-test.donées True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:46.128267
----------------------------- Captured stdout call -----------------------------
idna.decode('ua-test.xn--dones-dsa') -> ua-test.donées, with expected=ua-test.donées
Passed LA2U - LA2UG4 ua-test.xn--rhqv96g ua-test.世界 True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:46.205341
----------------------------- Captured stdout call -----------------------------
idna.decode('ua-test.xn--rhqv96g') -> ua-test.世界, with expected=ua-test.世界
Passed LA2U - LA2UG4 ua-test.xn--h2brj9c ua-test.भारत True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:46.282715
----------------------------- Captured stdout call -----------------------------
idna.decode('ua-test.xn--h2brj9c') -> ua-test.भारत, with expected=ua-test.भारत
Passed LA2U - LA2UG5 xn--fuball-cta.xn--dones-dsa fußball.donées True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.358961
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--fuball-cta.xn--dones-dsa') -> fußball.donées, with expected=fußball.donées
Passed LA2U - LA2UG5 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g 普遍接受-测试.世界 True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.435090
----------------------------- Captured stdout call -----------------------------
idna.decode('xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g') -> 普遍接受-测试.世界, with expected=普遍接受-测试.世界
Passed LA2U - LA2UG5 xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c मेल.डाटामेल.भारत True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.513629
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c') -> मेल.डाटामेल.भारत, with expected=मेल.डाटामेल.भारत
Passed LA2U - LA2UG5 xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd اختبار-القبولالعالمي.شبكة True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.590711
----------------------------- Captured stdout call -----------------------------
idna.decode('xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd') -> اختبار-القبولالعالمي.شبكة, with expected=اختبار-القبولالعالمي.شبكة
Passed LA2U - LA2UG6 xn--hc8cekyct1b.xn--gc8cua9a 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 True Verify basic Unicode support - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:46.667387
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--hc8cekyct1b.xn--gc8cua9a') -> 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼, with expected=𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼
Passed LA2U - LA2US1 xn--fuball-CTA.test fußball.test True A-label validation - A-label, not all in lowercase 2018-09-12 17:54:46.743726
----------------------------- Captured stdout call -----------------------------
idna.decode('xn--fuball-CTA.test') -> fußball.test, with expected=fußball.test
Passed LA2U - LA2US3 -xn--xuball-cta.test False A-label validation - A-label that starts with '-' (hyphen) 2018-09-12 17:54:46.917492
----------------------------- Captured stdout call -----------------------------
idna.decode('-xn--xuball-cta.test') -> err as expected (Label must not start or end with a hyphen)

Rust

idna

Results

52 passed, 0 skipped, 7 failed, 0 errors, 0 expected failures, 0 unexpected passes
Result Test Input Expected output Expected success Description Time
Failed LU2A - LU2AS5 普遍---测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions 2018-09-12 17:54:47.055098
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94e4a748>, value = {'input': '普遍---测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '普遍---测试.世界', 'output': '', 'success': False}])
def test_lu2as5(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with '–' (two consecutive hyphens) in the third and fourth character positions
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=普遍---测试.世界', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:196: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍---测试.世界') -> 'xn------gh9f461aiy1cxsg.xn--rhqv96g', while error was expected
Failed LU2A - LU2AS7 Ė.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:47.089964
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94cd8940>, value = {'input': 'Ė.ua-test.top', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=Ė.ua-test.top', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('Ė.ua-test.top') -> 'xn--lea.ua-test.top', while error was expected
Failed LU2A - LU2AS7 〈普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:47.109447
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94c9be10>, value = {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': ':www.fußball.donées', 'output': '', 'success': False}, {'input': 'Ė.ua-test.top', 'output': '', 'success': False}, {'input': '〈普遍接受-测试.世界', 'output': '', 'success': False}])
def test_lu2as7(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=〈普遍接受-测试.世界', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:224: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('〈普遍接受-测试.世界') -> 'xn----l4tv88knhn3idkpnv07cmqh.xn--rhqv96g', while error was expected
Failed LU2A - LU2AS9 m‌n False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:47.139091
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94cf7588>, value = {'input': 'm\u200cn', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=m\u200cn', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('m‌n') -> 'xn--mn-j1t', while error was expected
Failed LU2A - LU2AS9 p‍q False Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label 2018-09-12 17:54:47.158040
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94c7cac8>, value = {'input': 'p\u200dq', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'm\u200cn', 'output': '', 'success': False}, {'input': 'p\u200dq', 'output': '', 'success': False}])
def test_lu2as9(self, value):
"""
Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a non-conforming CONTEXTJ character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=p\u200dq', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:252: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('p‍q') -> 'xn--pq-m1t', while error was expected
Failed LU2A - LU2AS13 𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:47.192214
self = <test_rust_idna.Test_rust_Idna.TestLU2A object at 0x7f9e94d05748>, value = {'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': '𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', 'output': '', 'success': False}])
def test_lu2as13(self, value):
"""
Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing a DISALLOWED character in a label
"""
cmd = ['binaries/l_u2a'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_u2a', '--input=𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:308: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('𐍁𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekycho6b.xn--gc8cua9a', while error was expected
Failed LA2U - LA2US2 xn--xuball-cta-.test False A-label validation - A-label that ends with '-' (hyphen) 2018-09-12 17:54:47.313240
self = <test_rust_idna.Test_rust_Idna.TestLA2U object at 0x7f9e94c4c860>, value = {'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}

@pytest.mark.skipif(False, reason="Test does not provide any inputs")
@pytest.mark.parametrize('value', [{'input': 'xn--xuball-cta-.test', 'output': '', 'success': False}])
def test_la2us2(self, value):
"""
A-label validation - A-label that ends with '-' (hyphen)
"""
cmd = ['binaries/l_a2u'] + get_input_args(value) + get_output_args(value) + get_success_args(value)
# TODO pytest.process.cmdexec(cmd)
proc = subprocess.run(cmd, cwd='/home/audric/Projets/work/UA/ua/test_suite/tests/rust/idna')
if value['success']:
assert 0 == proc.returncode
else:
> assert EXPECTED_ERROR_VALUE == proc.returncode
E AssertionError: assert 42 == 1
E + where 1 = CompletedProcess(args=['binaries/l_a2u', '--input=xn--xuball-cta-.test', '--expect-failure'], returncode=1).returncode

tests/rust/idna/_build/test_rust_idna.py:455: AssertionError
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--xuball-cta-.test') -> 'xuball-cta.test', while error was expected
Passed LU2A - LU2AG1 www.sinodun.com www.sinodun.com True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:46.922814
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AG1 www.lunch.org.uk www.lunch.org.uk True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:46.927781
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LU2A - LU2AG1 xn----f38am99bqvcd5liy1cxsg.top xn----f38am99bqvcd5liy1cxsg.top True Verify ASCII passed unaltered - Plain ASCII 2018-09-12 17:54:46.933649
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('xn----f38am99bqvcd5liy1cxsg.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:46.938759
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LU2A - LU2AG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:46.943715
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LU2A - LU2AG2 ua-test.xn--rhqv96g ua-test.xn--rhqv96g True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:46.948948
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.xn--rhqv96g') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG3 fußball.top xn--fuball-cta.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:46.954064
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('fußball.top') -> 'xn--fuball-cta.top', with expected='xn--fuball-cta.top'
Passed LU2A - LU2AG3 普遍接受-测试.top xn----f38am99bqvcd5liy1cxsg.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:46.958989
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试.top') -> 'xn----f38am99bqvcd5liy1cxsg.top', with expected='xn----f38am99bqvcd5liy1cxsg.top'
Passed LU2A - LU2AG3 मेल.डाटामेल.top xn--r2bi6d.xn--c2bd4bq1db8d.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:46.964036
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('मेल.डाटामेल.top') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.top', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.top'
Passed LU2A - LU2AG3 اختبار-القبولالعالمي.top xn----ymcabaacdn3byb2g4e1acbcs4c7b.top True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane with ASCII TLD 2018-09-12 17:54:46.968899
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('اختبار-القبولالعالمي.top') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.top', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.top'
Passed LU2A - LU2AG4 ua-test.donées ua-test.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:46.973840
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.donées') -> 'ua-test.xn--dones-dsa', with expected='ua-test.xn--dones-dsa'
Passed LU2A - LU2AG4 ua-test.世界 ua-test.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:46.979103
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.世界') -> 'ua-test.xn--rhqv96g', with expected='ua-test.xn--rhqv96g'
Passed LU2A - LU2AG4 ua-test.भारत ua-test.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:46.984024
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.भारत') -> 'ua-test.xn--h2brj9c', with expected='ua-test.xn--h2brj9c'
Passed LU2A - LU2AG4 ua-test.شبك ua-test.xn--ngbx0c True Verify basic Unicode support - Permitted non-ASCII TLD from Unicode base multilingual plane with ASCII rest of domain 2018-09-12 17:54:46.988910
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ua-test.شبك') -> 'ua-test.xn--ngbx0c', with expected='ua-test.xn--ngbx0c'
Passed LU2A - LU2AG5 fußball.donées xn--fuball-cta.xn--dones-dsa True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.994211
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('fußball.donées') -> 'xn--fuball-cta.xn--dones-dsa', with expected='xn--fuball-cta.xn--dones-dsa'
Passed LU2A - LU2AG5 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:46.999794
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AG5 मेल.डाटामेल.भारत xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.004710
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('मेल.डाटामेल.भारत') -> 'xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c', with expected='xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c'
Passed LU2A - LU2AG5 اختبار-القبولالعالمي.شبكة xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.010088
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('اختبار-القبولالعالمي.شبكة') -> 'xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd', with expected='xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd'
Passed LU2A - LU2AG6 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 xn--hc8cekyct1b.xn--gc8cua9a True Verify Unicode support for higher planes - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:47.015088
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼') -> 'xn--hc8cekyct1b.xn--gc8cua9a', with expected='xn--hc8cekyct1b.xn--gc8cua9a'
Passed LU2A - LU2AS1 www.sinodun.com www.sinodun.com True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with . FULL STOP (U+002E) 2018-09-12 17:54:47.020019
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LU2A - LU2AS2 普遍接受-测试.世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with .FULLWIDTH FULL STOP (U+FF0E) 2018-09-12 17:54:47.024931
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试.世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS3 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。IDEOGRAPHIC FULL STOP (U+3002) 2018-09-12 17:54:47.029808
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS4 普遍接受-测试。世界 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane, labels separated with 。 HALFWIDTH IDEOGRAPHIC FULL STOP (U+FF61) 2018-09-12 17:54:47.034667
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试。世界') -> 'xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g', with expected='xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g'
Passed LU2A - LU2AS6 ̈ .fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:47.060026
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('̈ .fußball.donées')-> err as expected
Passed LU2A - LU2AS6 ᷀.ua-test.top False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane with a combining mark as a first character 2018-09-12 17:54:47.065215
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('᷀.ua-test.top')-> err as expected
Passed LU2A - LU2AS7 :www.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a DISALLOWED character in a label 2018-09-12 17:54:47.070484
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii(':www.fußball.donées')-> err as expected
Passed LU2A - LU2AS8 نامه‌ای.co xn--mgba3gch31f060k.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:47.114360
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('نامه‌ای.co') -> 'xn--mgba3gch31f060k.co', with expected='xn--mgba3gch31f060k.co'
Passed LU2A - LU2AS8 ශ්‍රී.co xn--10cl1a0b660p.co True Verify CONTEXTJ support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTJ character in a label 2018-09-12 17:54:47.119226
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ශ්‍රී.co') -> 'xn--10cl1a0b660p.co', with expected='xn--10cl1a0b660p.co'
Passed LU2A - LU2AS10 ァ・〆.test xn--v6jur4i.test True Verify CONTEXTO support - Permitted non-ASCII from Unicode base multilingual plane but containing a conforming CONTEXTO character in a label 2018-09-12 17:54:47.162927
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('ァ・〆.test') -> 'xn--v6jur4i.test', with expected='xn--v6jur4i.test'
Passed LU2A - LU2AS11 ՗w.fußball.donées False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:47.168150
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('՗w.fußball.donées')-> err as expected
Passed LU2A - LU2AS12 普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode base multilingual plane but containing a label that is 64 characters or longer in ACE form 2018-09-12 17:54:47.173088
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试普遍接受-测试.世界')-> err as expected
Passed LU2A - LU2AS14 𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 False Ensure malformed Unicode is rejected - Permitted non-ASCII from Unicode supplementary multilingual plane but containing an UNASSIGNED character in a label 2018-09-12 17:54:47.197429
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('𐍎𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼')-> err as expected
Passed LU2A - LU2AS15 نامه‌ایa.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:47.202746
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('نامه‌ایa.test')-> err as expected
Passed LU2A - LU2AS15 نامaه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:47.207854
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('نامaه‌ای.test')-> err as expected
Passed LU2A - LU2AS15 aنامه‌ای.test False (SHOULD REQUIREMENT) See if Bidi checking happens - Permitted non-ASCII from Unicode base multilingual plane not the requirements for right-to-left characters specified in the Bidi document (RFC5893) 2018-09-12 17:54:47.212803
----------------------------- Captured stdout call -----------------------------
idna::domain_to_ascii('aنامه‌ای.test')-> err as expected
Passed LA2U - LA2UG1 www.sinodun.com www.sinodun.com True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:47.217705
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('www.sinodun.com') -> 'www.sinodun.com', with expected='www.sinodun.com'
Passed LA2U - LA2UG1 www.lunch.org.uk www.lunch.org.uk True Verify that ASCII is passed through unaltered - Plain ASCII 2018-09-12 17:54:47.222562
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('www.lunch.org.uk') -> 'www.lunch.org.uk', with expected='www.lunch.org.uk'
Passed LA2U - LA2UG2 ua-test.link ua-test.link True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:47.227538
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('ua-test.link') -> 'ua-test.link', with expected='ua-test.link'
Passed LA2U - LA2UG2 ua-test.technology ua-test.technology True Verify long TLDs are handled - Plain ASCII with >3 char TLD 2018-09-12 17:54:47.232595
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('ua-test.technology') -> 'ua-test.technology', with expected='ua-test.technology'
Passed LA2U - LA2UG3 xn--fuball-cta.top fußball.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:47.237545
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--fuball-cta.top') -> 'fußball.top', with expected='fußball.top'
Passed LA2U - LA2UG3 xn----f38am99bqvcd5liy1cxsg.top 普遍接受-测试.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:47.242397
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn----f38am99bqvcd5liy1cxsg.top') -> '普遍接受-测试.top', with expected='普遍接受-测试.top'
Passed LA2U - LA2UG3 xn--r2bi6d.xn--c2bd4bq1db8d.top मेल.डाटामेल.top True Verify basic Unicode support - ACE domain with ASCII TLD 2018-09-12 17:54:47.247797
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--r2bi6d.xn--c2bd4bq1db8d.top') -> 'मेल.डाटामेल.top', with expected='मेल.डाटामेल.top'
Passed LA2U - LA2UG4 ua-test.xn--dones-dsa ua-test.donées True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:47.252760
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('ua-test.xn--dones-dsa') -> 'ua-test.donées', with expected='ua-test.donées'
Passed LA2U - LA2UG4 ua-test.xn--rhqv96g ua-test.世界 True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:47.257864
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('ua-test.xn--rhqv96g') -> 'ua-test.世界', with expected='ua-test.世界'
Passed LA2U - LA2UG4 ua-test.xn--h2brj9c ua-test.भारत True Verify basic Unicode support - ACE TLD with ASCII rest of domain 2018-09-12 17:54:47.263399
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('ua-test.xn--h2brj9c') -> 'ua-test.भारत', with expected='ua-test.भारत'
Passed LA2U - LA2UG5 xn--fuball-cta.xn--dones-dsa fußball.donées True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.268353
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--fuball-cta.xn--dones-dsa') -> 'fußball.donées', with expected='fußball.donées'
Passed LA2U - LA2UG5 xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g 普遍接受-测试.世界 True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.273392
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn----f38am99bqvcd5liy1cxsg.xn--rhqv96g') -> '普遍接受-测试.世界', with expected='普遍接受-测试.世界'
Passed LA2U - LA2UG5 xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c मेल.डाटामेल.भारत True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.278712
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--r2bi6d.xn--c2bd4bq1db8d.xn--h2brj9c') -> 'मेल.डाटामेल.भारत', with expected='मेल.डाटामेल.भारत'
Passed LA2U - LA2UG5 xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd اختبار-القبولالعالمي.شبكة True Verify basic Unicode support - Permitted non-ASCII from Unicode base multilingual plane - entire domain 2018-09-12 17:54:47.283950
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn----ymcabaacdn3byb2g4e1acbcs4c7b.xn--ngbc5azd') -> 'اختبار-القبولالعالمي.شبكة', with expected='اختبار-القبولالعالمي.شبكة'
Passed LA2U - LA2UG6 xn--hc8cekyct1b.xn--gc8cua9a 𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼 True Verify basic Unicode support - Permitted non-ASCII from Unicode supplementary multilingual plane - entire domain 2018-09-12 17:54:47.289041
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--hc8cekyct1b.xn--gc8cua9a') -> '𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼', with expected='𐍃𐌹𐌿𐍈𐌳𐌵𐌿.𐌲𐍈𐌼'
Passed LA2U - LA2US1 xn--fuball-CTA.test fußball.test True A-label validation - A-label, not all in lowercase 2018-09-12 17:54:47.294087
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('xn--fuball-CTA.test') -> 'fußball.test', with expected='fußball.test'
Passed LA2U - LA2US3 -xn--xuball-cta.test False A-label validation - A-label that starts with '-' (hyphen) 2018-09-12 17:54:47.318059
----------------------------- Captured stdout call -----------------------------
idna::domain_to_unicode('-xn--xuball-cta.test')-> err as expected