Skip to content

Commit

Permalink
modified clean responce body
Browse files Browse the repository at this point in the history
  • Loading branch information
CulmoneY committed Feb 8, 2025
1 parent a4b8c33 commit 84fd5c6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/test_reporters/test_html_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def clean_response_body(body):
before snapshot testing."""
body = re.sub(r".*<time>.*?</time>.*\n?", "", body)
body = re.sub(r".*tests/fixtures/reporters/(?:no_)?watch_integration\.py.*\n?", "", body)
body = re.sub(r'.* class="pygments-w"> </span><span".*\n?', "", body)

return body.strip()


Expand Down

0 comments on commit 84fd5c6

Please sign in to comment.