pytest-html-plus 0.4.4__py3-none-any.whl → 0.4.6__py3-none-any.whl
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.
- pytest_html_plus/generate_html_report.py +4 -4
- {pytest_html_plus-0.4.4.dist-info → pytest_html_plus-0.4.6.dist-info}/METADATA +4 -3
- {pytest_html_plus-0.4.4.dist-info → pytest_html_plus-0.4.6.dist-info}/RECORD +6 -6
- {pytest_html_plus-0.4.4.dist-info → pytest_html_plus-0.4.6.dist-info}/LICENSE +0 -0
- {pytest_html_plus-0.4.4.dist-info → pytest_html_plus-0.4.6.dist-info}/WHEEL +0 -0
- {pytest_html_plus-0.4.4.dist-info → pytest_html_plus-0.4.6.dist-info}/entry_points.txt +0 -0
|
@@ -3,7 +3,7 @@ import base64
|
|
|
3
3
|
import json
|
|
4
4
|
import os
|
|
5
5
|
import shutil
|
|
6
|
-
from datetime import datetime
|
|
6
|
+
from datetime import datetime, timezone
|
|
7
7
|
import html
|
|
8
8
|
from sys import path
|
|
9
9
|
|
|
@@ -90,7 +90,7 @@ class JSONReporter:
|
|
|
90
90
|
"line": lineno,
|
|
91
91
|
"stdout": stdout,
|
|
92
92
|
"stderr": stderr,
|
|
93
|
-
"timestamp": datetime.
|
|
93
|
+
"timestamp": datetime.now(timezone.utc).isoformat().replace("+00:00", "Z"),
|
|
94
94
|
"screenshot": screenshot,
|
|
95
95
|
"logs": logs or [],
|
|
96
96
|
"worker": worker,
|
|
@@ -376,9 +376,9 @@ class JSONReporter:
|
|
|
376
376
|
// Sort and reorder
|
|
377
377
|
testElements.sort((a, b) => {{
|
|
378
378
|
const aDuration = parseFloat(
|
|
379
|
-
a.querySelector('.timestamp').textContent.replace(/[
|
|
379
|
+
a.querySelector('.timestamp').textContent.replace(/[^\\d.]/g, '')
|
|
380
380
|
) || 0;
|
|
381
|
-
const bDuration = parseFloat(b.querySelector('.timestamp').textContent.replace(/[
|
|
381
|
+
const bDuration = parseFloat(b.querySelector('.timestamp').textContent.replace(/[^\\d.]/g, '')) || 0;
|
|
382
382
|
return bDuration - aDuration;
|
|
383
383
|
}});
|
|
384
384
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: pytest-html-plus
|
|
3
|
-
Version: 0.4.
|
|
4
|
-
Summary:
|
|
3
|
+
Version: 0.4.6
|
|
4
|
+
Summary: Generate Actionable, automatic screenshots, unified 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-html-plus,pytest-plugin,html-test-report,beautiful-test-report,shareable-test-results,test-report,test-results,unit-test-report,functional-test-report,test-summary,reporting,python-testing,automated-testing,test-runner,report-generator,continuous-integration,ci-cd,github-actions,jenkins,pytest-html,pytest-report
|
|
7
7
|
Author: reporterplus
|
|
@@ -23,7 +23,7 @@ Description-Content-Type: text/markdown
|
|
|
23
23
|
⚡ **Plug. Play. Debug without delay.**
|
|
24
24
|
> _Get started with rich pytest reports in under 3 seconds. Just install — no setup required. The simplest, fastest reporter for pytest._
|
|
25
25
|
|
|
26
|
-
## Get a self-contained, actionable, easy-to-read single page HTML unified reports summarizing all your test results — no hassle, just clarity. Detect **flaky tests**, and optionally send reports via email**. Works beautifully with or without `xdist`.
|
|
26
|
+
## Get a self-contained, actionable, easy-to-read single page HTML unified reports summarizing all your test results — no hassle, just clarity. Detect **flaky tests**, **attach screenshots** automatically without hooks and optionally send reports via email**. Works beautifully with or without `xdist`.
|
|
27
27
|
|
|
28
28
|
➡️ [View Demo Report](https://reporterplus.github.io/pytest-html-plus/)
|
|
29
29
|
|
|
@@ -155,3 +155,4 @@ See the [contribution guide](https://pytest-html-plus.readthedocs.io/en/latest/c
|
|
|
155
155
|
## 📜 License
|
|
156
156
|
|
|
157
157
|
MIT
|
|
158
|
+
|
|
@@ -2,15 +2,15 @@ pytest_html_plus/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,
|
|
|
2
2
|
pytest_html_plus/compute_filter_counts.py,sha256=A1rLdY9XWiIunpIs3VlmJsQ5JkKcWbVdj9r1Xg_4g6o,872
|
|
3
3
|
pytest_html_plus/compute_report_metadata.py,sha256=k35kCSCAc8Fj9zgzzM49kh0h1NV2Ope9Lr8JHG_1jlU,783
|
|
4
4
|
pytest_html_plus/extract_link.py,sha256=1XtqkbZkrl1YgPGtFc3Ss1XFWm4LNLuO3Hi407HNChk,340
|
|
5
|
-
pytest_html_plus/generate_html_report.py,sha256=
|
|
5
|
+
pytest_html_plus/generate_html_report.py,sha256=JmoU8mRgW-5b_u2p7_535B2aRTtGNoXypwzVreiuvCk,34255
|
|
6
6
|
pytest_html_plus/json_merge.py,sha256=EQu23n8z4a0FxvFOlvYoDlX1jrZYjWwsCL-6oxfDREw,1868
|
|
7
7
|
pytest_html_plus/json_to_xml_converter.py,sha256=5E6BGMw4FaJhoYDUZQ6dF8NWqAeXrcuSrlySy81IrVE,3468
|
|
8
8
|
pytest_html_plus/plugin.py,sha256=sxCai3u018MRIhwYYsTjFv65Ss7OZOYM_xREU7XNn9E,11526
|
|
9
9
|
pytest_html_plus/resolver_driver.py,sha256=hehokRO5EuG4Ti8MyaSBW4xaHduUK3Ot2jbw1YpIsnk,1287
|
|
10
10
|
pytest_html_plus/send_email_report.py,sha256=qDnAPy1Jc4favOvXg6MT0ttNmSsG3MXGQX1Hu7wN1Go,2622
|
|
11
11
|
pytest_html_plus/utils.py,sha256=DkGzQDFG_SUQHo97_lBnqTyeNxlo3NlFBZ2X_ooZRdM,2205
|
|
12
|
-
pytest_html_plus-0.4.
|
|
13
|
-
pytest_html_plus-0.4.
|
|
14
|
-
pytest_html_plus-0.4.
|
|
15
|
-
pytest_html_plus-0.4.
|
|
16
|
-
pytest_html_plus-0.4.
|
|
12
|
+
pytest_html_plus-0.4.6.dist-info/LICENSE,sha256=8flU0ghLnuKK8qZv9pJ1xhXiKQdUncg0OvqMwYhGWzY,1090
|
|
13
|
+
pytest_html_plus-0.4.6.dist-info/METADATA,sha256=G3lBbjk4omUV07pZcbcrkrFHrAA0hMycmU6N_hTvMYc,8504
|
|
14
|
+
pytest_html_plus-0.4.6.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
|
15
|
+
pytest_html_plus-0.4.6.dist-info/entry_points.txt,sha256=eSbV9G_n_XnR4wemMxKHSSuPMcBSoHbE1WuC2IQp4Zk,53
|
|
16
|
+
pytest_html_plus-0.4.6.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|