pytest-html-plus 0.5.1__tar.gz → 0.5.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: pytest-html-plus
3
- Version: 0.5.1
3
+ Version: 0.5.2
4
4
  Summary: Generate Actionable, automatic screenshots, unified Mobile friendly Pytest HTML report in less than 3 seconds — no hooks, merge plugins, no config, xdist-ready.
5
5
  License: MIT
6
6
  Keywords: pytest,pytest-plugin,html-report,test-report,screenshot,mobile-report,xdist,allure-alternative,playwright,selenium
@@ -19,10 +19,7 @@ Classifier: Programming Language :: Python :: 3.12
19
19
  Classifier: Programming Language :: Python :: 3.13
20
20
  Classifier: Topic :: Software Development :: Quality Assurance
21
21
  Classifier: Topic :: Software Development :: Testing
22
- Requires-Dist: black (>=26.1.0,<27.0.0)
23
- Requires-Dist: isort (>=8.0.0,<9.0.0)
24
22
  Requires-Dist: keyring (>=25.6.0,<26.0.0)
25
- Requires-Dist: pre-commit (>=4.5.1,<5.0.0)
26
23
  Requires-Dist: yagmail (>=0.15.293,<0.16.0)
27
24
  Project-URL: Documentation, https://pytest-html-plus.readthedocs.io
28
25
  Project-URL: Homepage, https://github.com/reporterplus/pytest-html-plus
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "pytest-html-plus"
3
- version = "0.5.1"
3
+ version = "0.5.2"
4
4
  description = "Generate Actionable, automatic screenshots, unified Mobile friendly Pytest HTML report in less than 3 seconds — no hooks, merge plugins, no config, xdist-ready."
5
5
  readme = "README.md"
6
6
  authors = ["reporterplus"]
@@ -42,9 +42,6 @@ urls.Documentation = "https://pytest-html-plus.readthedocs.io"
42
42
  python = ">=3.10,<4.0"
43
43
  yagmail = ">=0.15.293,<0.16.0"
44
44
  keyring = ">=25.6.0,<26.0.0"
45
- black = "^26.1.0"
46
- isort = "^8.0.0"
47
- pre-commit = "^4.5.1"
48
45
 
49
46
  [tool.poetry.group.dev.dependencies]
50
47
  pytest-rerunfailures = "^15.1"
@@ -56,6 +53,9 @@ pytest-xdist = "^3.8.0"
56
53
  selenium = "^4.8.0"
57
54
  webdriver-manager = "^3.8.5"
58
55
  ruff = "^0.15.2"
56
+ black = "^26.3.1"
57
+ isort = "^8.0.1"
58
+ pre-commit = "^4.5.1"
59
59
 
60
60
  [build-system]
61
61
  requires = ["poetry-core"]
@@ -862,11 +862,15 @@ class JSONReporter:
862
862
  )
863
863
 
864
864
  attempts_html += f"""
865
- <div style="margin-top:8px; padding:8px; border:1px solid #ddd; border-radius:4px;">
866
- <div><strong>Attempt {i} {status_icon}</strong></div>
867
- {error_block}
868
- {trace_block}
869
- </div>
865
+ <details style="margin-top:8px; border:1px solid #ddd; border-radius:4px; padding:6px;">
866
+ <summary style="cursor:pointer;">
867
+ <strong>Attempt {i} {status_icon}</strong>
868
+ </summary>
869
+ <div style="margin-top:8px;">
870
+ {error_block}
871
+ {trace_block}
872
+ </div>
873
+ </details>
870
874
  """
871
875
 
872
876
  attempts_html += "</div>"