pytest-dev / pytest-dev/pytest-html

Chinese do not display properly in the report(4.0.0rc0、3.2.0)

Open
#596 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
779
Forks
260
PR merge metrics
No merged PRs in 30d

Description

nodeid show Chinese code normal,but report to html is confused

pytesthtml3 2
pytesthtml4 0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with Chinese nodeids in pytest-html 4.0.0rc0 or 3.2.0 and compare the generated HTML report with the normal nodeid output. Done means Chinese text renders correctly in the HTML report; the issue does not name a file or test to begin with.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, python
Domain
testing-qa, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.