GLOB sdist-make: /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/setup.py py38 create: /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38 py38 installdeps: pytest-xdist, pytest-rerunfailures, pytest-mock py38 inst: /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/.tmp/package/1/pytest-html-lee-0.0.1.zip py38 installed: apipkg==1.5,attrs==20.1.0,execnet==1.7.1,iniconfig==1.0.1,more-itertools==8.5.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pyparsing==2.4.7,pytest==6.0.1,pytest-forked==1.3.0,pytest-html-lee @ file:///tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/.tmp/package/1/pytest-html-lee-0.0.1.zip,pytest-metadata==1.10.0,pytest-mock==3.3.1,pytest-rerunfailures==9.1,pytest-xdist==2.1.0,six==1.15.0,toml==0.10.1 py38 run-test-pre: PYTHONHASHSEED='1946902164' py38 run-test: commands[0] | pytest -v -r a --color=yes --html=/tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38/log/report.html --self-contained-html ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38/bin/python cachedir: .tox/py38/.pytest_cache metadata: {'Python': '3.8.0', 'Platform': 'Linux-4.15.0-1077-gcp-x86_64-with-glibc2.2.5', 'Packages': {'pytest': '6.0.1', 'py': '1.9.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.10.0', 'html-lee': '0.0.1', 'xdist': '2.1.0', 'mock': '3.3.1', 'rerunfailures': '9.1', 'forked': '1.3.0'}} rootdir: /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1, configfile: tox.ini, testpaths: testing plugins: metadata-1.10.0, html-lee-0.0.1, xdist-2.1.0, mock-3.3.1, rerunfailures-9.1, forked-1.3.0 collecting ... collected 73 items testing/test_pytest_html.py::TestHTML::test_durations PASSED [ 1%] testing/test_pytest_html.py::TestHTML::test_pass PASSED [ 2%] testing/test_pytest_html.py::TestHTML::test_skip PASSED [ 4%] testing/test_pytest_html.py::TestHTML::test_fail PASSED [ 5%] testing/test_pytest_html.py::TestHTML::test_rerun PASSED [ 6%] testing/test_pytest_html.py::TestHTML::test_no_rerun PASSED [ 8%] testing/test_pytest_html.py::TestHTML::test_conditional_xfails PASSED [ 9%] testing/test_pytest_html.py::TestHTML::test_setup_error PASSED [ 10%] testing/test_pytest_html.py::TestHTML::test_xfail PASSED [ 12%] testing/test_pytest_html.py::TestHTML::test_xpass PASSED [ 13%] testing/test_pytest_html.py::TestHTML::test_create_report_path PASSED [ 15%] testing/test_pytest_html.py::TestHTML::test_report_title[] PASSED [ 16%] testing/test_pytest_html.py::TestHTML::test_report_title[directory] PASSED [ 17%] testing/test_pytest_html.py::TestHTML::test_report_title_addopts_env_var PASSED [ 19%] testing/test_pytest_html.py::TestHTML::test_resources_inline_css PASSED [ 20%] testing/test_pytest_html.py::TestHTML::test_resources PASSED [ 21%] testing/test_pytest_html.py::TestHTML::test_stdout[pass] PASSED [ 23%] testing/test_pytest_html.py::TestHTML::test_stdout[fail] PASSED [ 24%] testing/test_pytest_html.py::TestHTML::test_custom_content_in_summary PASSED [ 26%] testing/test_pytest_html.py::TestHTML::test_extra_html PASSED [ 27%] testing/test_pytest_html.py::TestHTML::test_extra_text[u'\x81'-woE=] PASSED [ 28%] testing/test_pytest_html.py::TestHTML::test_extra_text['foo'-Zm9v] PASSED [ 30%] testing/test_pytest_html.py::TestHTML::test_extra_text[b'\\xe2\\x80\\x93'-4oCT] PASSED [ 31%] testing/test_pytest_html.py::TestHTML::test_extra_json PASSED [ 32%] testing/test_pytest_html.py::TestHTML::test_extra_url PASSED [ 34%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/png-png] PASSED [ 35%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/png-image] PASSED [ 36%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/jpeg-jpg] PASSED [ 38%] testing/test_pytest_html.py::TestHTML::test_extra_image[image/svg+xml-svg] PASSED [ 39%] testing/test_pytest_html.py::TestHTML::test_extra_image_windows PASSED [ 41%] testing/test_pytest_html.py::TestHTML::test_extra_video[video/mp4-mp4] PASSED [ 42%] testing/test_pytest_html.py::TestHTML::test_extra_video_windows PASSED [ 43%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated[u'\x81'] PASSED [ 45%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated['foo'] PASSED [ 46%] testing/test_pytest_html.py::TestHTML::test_extra_text_separated[b'\\xe2\\x80\\x93'] PASSED [ 47%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[png-image] PASSED [ 49%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[png-png] PASSED [ 50%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[svg-svg] PASSED [ 52%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated[jpg-jpg] PASSED [ 53%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[png-image] PASSED [ 54%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[png-png] PASSED [ 56%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[svg-svg] PASSED [ 57%] testing/test_pytest_html.py::TestHTML::test_extra_image_separated_rerun[jpg-jpg] PASSED [ 58%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[https://] PASSED [ 60%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[file://] PASSED [ 61%] testing/test_pytest_html.py::TestHTML::test_extra_image_non_b64[image.png] PASSED [ 63%] testing/test_pytest_html.py::TestHTML::test_very_long_test_name PASSED [ 64%] testing/test_pytest_html.py::TestHTML::test_extra_fixture PASSED [ 65%] testing/test_pytest_html.py::TestHTML::test_no_invalid_characters_in_filename PASSED [ 67%] testing/test_pytest_html.py::TestHTML::test_no_environment PASSED [ 68%] testing/test_pytest_html.py::TestHTML::test_environment PASSED [ 69%] testing/test_pytest_html.py::TestHTML::test_environment_xdist PASSED [ 71%] testing/test_pytest_html.py::TestHTML::test_environment_xdist_reruns PASSED [ 72%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content0-123Go, Hello, fzWZP6vKRv, garAge, hello] PASSED [ 73%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content1-1, 2, 2, 4, 54] PASSED [ 75%] testing/test_pytest_html.py::TestHTML::test_environment_list_value[content2-400, 5.4, Yes] PASSED [ 76%] testing/test_pytest_html.py::TestHTML::test_environment_unordered_dict_value[unordered_dict0-content\\n\\s+{"123Go": 5, "Hello": 5, "fzWZP6vKRv": 10, "garAge": 6, "hello": 5}] PASSED [ 78%] testing/test_pytest_html.py::TestHTML::test_environment_unordered_dict_value[unordered_dict1-content\\n\\s+{"First Link": "W3Schools", "Second Link": "W2Schools", "Third Link": "W4Schools"}] PASSED [ 79%] testing/test_pytest_html.py::TestHTML::test_environment_ordered PASSED [ 80%] testing/test_pytest_html.py::TestHTML::test_xdist_crashing_worker PASSED [ 82%] testing/test_pytest_html.py::TestHTML::test_utf8_surrogate PASSED [ 83%] testing/test_pytest_html.py::TestHTML::test_ansi_color PASSED [ 84%] testing/test_pytest_html.py::TestHTML::test_utf8_longrepr['foo'] PASSED [ 86%] testing/test_pytest_html.py::TestHTML::test_utf8_longrepr[u'\x81'] PASSED [ 87%] testing/test_pytest_html.py::TestHTML::test_collect_error PASSED [ 89%] testing/test_pytest_html.py::TestHTML::test_css[colors0] PASSED [ 90%] testing/test_pytest_html.py::TestHTML::test_css[colors1] PASSED [ 91%] testing/test_pytest_html.py::TestHTML::test_css_invalid PASSED [ 93%] testing/test_pytest_html.py::TestHTML::test_css_invalid_no_html PASSED [ 94%] testing/test_pytest_html.py::TestHTML::test_report_display_utf8 FAILED [ 95%] testing/test_pytest_html.py::TestHTML::test_collapsed[True] PASSED [ 97%] testing/test_pytest_html.py::TestHTML::test_collapsed[False] PASSED [ 98%] testing/test_pytest_html.py::TestHTML::test_custom_content_report_title PASSED [100%] =================================== FAILURES =================================== ______________________ TestHTML.test_report_display_utf8 _______________________ self = testdir = def test_report_display_utf8(self, testdir): testdir.makepyfile( """ import pytest @pytest.mark.parametrize("utf8", [("测试用例名称")]) def test_pass(utf8): assert True """ ) result, html = run(testdir) assert result.ret == 0 > assert r"\u6d4b\u8bd5\u7528\u4f8b\u540d\u79f0" not in html E assert '\\u6d4b\\u8...u540d\\u79f0' not in '' E '\\u6d4b\\u8bd5\\u7...u4f8b\\u540d\\u79f0' is contained here: E  E  E  E  E Test Report E ... E  E ...Full output truncated (278 lines hidden), use '-vv' to show /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/testing/test_pytest_html.py:911: AssertionError ----------------------------- Captured stdout call ----------------------------- ============================= test session starts ============================== platform linux -- Python 3.8.0, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-25/test_report_display_utf80 plugins: metadata-1.10.0, html-lee-0.0.1, xdist-2.1.0, mock-3.3.1, rerunfailures-9.1, forked-1.3.0 collected 1 item test_report_display_utf8.py . [100%] - generated html file: file:///tmp/pytest-of-travis/pytest-25/test_report_display_utf80/report.html - ============================== 1 passed in 0.10s =============================== - generated html file: file:///tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38/log/report.html - =========================== short test summary info ============================ FAILED testing/test_pytest_html.py::TestHTML::test_report_display_utf8 - asse... ======================== 1 failed, 72 passed in 57.01s ========================= ERROR: InvocationError for command /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38/bin/pytest -v -r a --color=yes --html=/tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/.tox/py38/log/report.html --self-contained-html (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py38: commands failed write json report at: /tmp/tmprhq4wk8a/pytest-html-lee-0.0.1/result.json Time: 108.1 seconds