pytest-xhtml 0.2.0__tar.gz → 0.3.0__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.
Files changed (56) hide show
  1. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/.coveragerc +5 -5
  2. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/.gitattributes +3 -3
  3. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/.gitignore +60 -60
  4. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/.pre-commit-config.yaml +91 -91
  5. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/LICENSE +201 -201
  6. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/PKG-INFO +2 -2
  7. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/README.md +58 -58
  8. pytest_xhtml-0.3.0/images/e2e_report.png +0 -0
  9. pytest_xhtml-0.3.0/images/http_report.png +0 -0
  10. pytest_xhtml-0.3.0/images/unit_report.png +0 -0
  11. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/layout/css/style.scss +12 -7
  12. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/package-lock.json +9915 -9915
  13. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/package.json +20 -20
  14. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pyproject.toml +115 -115
  15. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/__init__.py +9 -9
  16. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/__version.py +21 -21
  17. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/basereport.py +377 -377
  18. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/extras.py +77 -77
  19. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/fixtures.py +47 -47
  20. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/hooks.py +27 -27
  21. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/plugin.py +140 -140
  22. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/report.py +41 -41
  23. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/report_data.py +155 -153
  24. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/resources/app.js +638 -638
  25. pytest_xhtml-0.3.0/pytest_xhtml/resources/index.jinja2 +289 -0
  26. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/resources/style.css +12 -7
  27. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/datamanager.js +64 -64
  28. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/dom.js +92 -92
  29. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/filter.js +32 -32
  30. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/index.js +16 -16
  31. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/main.js +150 -150
  32. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/mediaviewer.js +83 -83
  33. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/sort.js +93 -93
  34. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/scripts/storage.js +108 -108
  35. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/selfcontained_report.py +39 -39
  36. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/pytest_xhtml/util.py +56 -56
  37. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/scripts/npm.py +15 -15
  38. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/legacy_test_pytest_html.py +1242 -1242
  39. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/test_e2e.py +137 -137
  40. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/test_integration.py +1087 -1087
  41. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/test_unit.py +148 -148
  42. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_e2e/conftest.py +52 -52
  43. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_e2e/test_selenium.py +30 -30
  44. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_req/conftest.py +37 -37
  45. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_req/test_req.py +55 -55
  46. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_unit/conftest.py +21 -21
  47. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/unittest.js +280 -280
  48. pytest_xhtml-0.2.0/article.md +0 -284
  49. pytest_xhtml-0.2.0/images/e2e_report.png +0 -0
  50. pytest_xhtml-0.2.0/images/http_report.png +0 -0
  51. pytest_xhtml-0.2.0/images/unit_report.png +0 -0
  52. pytest_xhtml-0.2.0/pytest_xhtml/resources/index.jinja2 +0 -276
  53. pytest_xhtml-0.2.0/test_report_1.8.0.png +0 -0
  54. pytest_xhtml-0.2.0/test_sample.py +0 -37
  55. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/testing/testing_unit/test_sample.py +0 -0
  56. {pytest_xhtml-0.2.0 → pytest_xhtml-0.3.0}/uv.lock +0 -0
@@ -1,5 +1,5 @@
1
- # reference: https://coverage.readthedocs.io/en/coverage-5.0/config.html
2
- # used by pytest-cov
3
- [coverage:report]
4
- precision = 2
5
- show_missing = true
1
+ # reference: https://coverage.readthedocs.io/en/coverage-5.0/config.html
2
+ # used by pytest-cov
3
+ [coverage:report]
4
+ precision = 2
5
+ show_missing = true
@@ -1,3 +1,3 @@
1
-
2
- # see https://github.com/github/linguist#generated-code
3
- pytest_xhtml/resources/style.css linguist-generated
1
+
2
+ # see https://github.com/github/linguist#generated-code
3
+ pytest_xhtml/resources/style.css linguist-generated
@@ -1,60 +1,60 @@
1
- __pycache__
2
- .cache
3
- .eggs
4
- *.egg-info
5
- *.pyc
6
- build
7
- dist
8
-
9
- # Codecov
10
- .coverage
11
- coverage.xml
12
- cobertura-coverage.xml
13
-
14
- # IDE Specific files/folders
15
- ## Pycharm IDE - Jetbrains
16
- .idea/*
17
- .vscode/*
18
-
19
- ## PyDev IDE - Eclipse
20
- .settings/
21
- .loadpath
22
- .metadata
23
- tmp/
24
- *.bak
25
- *.project
26
- *.pydevproject
27
- *.tmp
28
- local.properties
29
-
30
- ## Vim
31
- *.swp
32
-
33
- ### YouCompleteMe
34
- .ycm_extra_conf.py
35
-
36
- # JS files/folders
37
- ## node / npm
38
- node_modules/
39
-
40
- # MacOS files
41
- .DS_Store
42
-
43
- # Pipenv files
44
- Pipfile.lock
45
-
46
- # pytest folders
47
- .pytest_cache
48
-
49
- # tox folders
50
- .tox
51
-
52
- # sphinx/read the docs
53
- docs/_build/
54
-
55
- *.html
56
- assets/
57
-
58
- .nyc_output
59
-
60
- .venv/
1
+ __pycache__
2
+ .cache
3
+ .eggs
4
+ *.egg-info
5
+ *.pyc
6
+ build
7
+ dist
8
+
9
+ # Codecov
10
+ .coverage
11
+ coverage.xml
12
+ cobertura-coverage.xml
13
+
14
+ # IDE Specific files/folders
15
+ ## Pycharm IDE - Jetbrains
16
+ .idea/*
17
+ .vscode/*
18
+
19
+ ## PyDev IDE - Eclipse
20
+ .settings/
21
+ .loadpath
22
+ .metadata
23
+ tmp/
24
+ *.bak
25
+ *.project
26
+ *.pydevproject
27
+ *.tmp
28
+ local.properties
29
+
30
+ ## Vim
31
+ *.swp
32
+
33
+ ### YouCompleteMe
34
+ .ycm_extra_conf.py
35
+
36
+ # JS files/folders
37
+ ## node / npm
38
+ node_modules/
39
+
40
+ # MacOS files
41
+ .DS_Store
42
+
43
+ # Pipenv files
44
+ Pipfile.lock
45
+
46
+ # pytest folders
47
+ .pytest_cache
48
+
49
+ # tox folders
50
+ .tox
51
+
52
+ # sphinx/read the docs
53
+ docs/_build/
54
+
55
+ *.html
56
+ assets/
57
+
58
+ .nyc_output
59
+
60
+ .venv/
@@ -1,91 +1,91 @@
1
- repos:
2
- - repo: https://github.com/psf/black
3
- rev: 25.1.0
4
- hooks:
5
- - id: black
6
- args: [--safe, --quiet, --line-length=88]
7
-
8
- - repo: https://github.com/tox-dev/pyproject-fmt
9
- rev: "v2.6.0"
10
- hooks:
11
- - id: pyproject-fmt
12
- # https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
13
- additional_dependencies: ["tox>=4.9"]
14
-
15
- - repo: https://github.com/asottile/blacken-docs
16
- rev: 1.19.1
17
- hooks:
18
- - id: blacken-docs
19
- additional_dependencies: [black==24.10.0]
20
-
21
- - repo: https://github.com/pre-commit/pre-commit-hooks
22
- rev: v5.0.0
23
- hooks:
24
- - id: trailing-whitespace
25
- - id: end-of-file-fixer
26
- - id: fix-encoding-pragma
27
- args: [--remove]
28
- - id: check-yaml
29
- - id: debug-statements
30
- language_version: python3
31
- - id: no-commit-to-branch
32
- args: ['--branch', 'master']
33
-
34
- - repo: https://github.com/PyCQA/flake8
35
- rev: 7.3.0
36
- hooks:
37
- - id: flake8
38
- language_version: python3
39
- additional_dependencies:
40
- - flake8-builtins==1.5.3
41
- - flake8-typing-imports==1.12.0
42
-
43
- - repo: https://github.com/asottile/reorder-python-imports
44
- rev: v3.15.0
45
- hooks:
46
- - id: reorder-python-imports
47
- args: ["--application-directories=.:src:testing", --py3-plus]
48
-
49
- - repo: https://github.com/asottile/pyupgrade
50
- rev: v3.20.0
51
- hooks:
52
- - id: pyupgrade
53
- args: [--py39-plus]
54
-
55
- - repo: https://github.com/pre-commit/mirrors-eslint
56
- rev: v9.29.0
57
- hooks:
58
- - id: eslint
59
- additional_dependencies:
60
- - eslint@8.20.0
61
- - eslint-config-google@0.14.0
62
- args: ["--fix"]
63
- - repo: https://github.com/pre-commit/mirrors-mypy
64
- rev: v1.16.1
65
- hooks:
66
- - id: mypy
67
- files: ^(pytest_xhtml|testing)
68
- additional_dependencies:
69
- - types-setuptools
70
- - repo: local
71
- hooks:
72
- - id: rst
73
- name: rst
74
- entry: rst-lint --encoding utf-8
75
- files: ^(README.rst)$
76
- language: python
77
- additional_dependencies: [pygments, restructuredtext_lint]
78
-
79
- - repo: local
80
- hooks:
81
- - id: djlint
82
- name: djlint
83
- entry: djlint
84
- files: \.jinja2$
85
- language: python
86
- additional_dependencies: [djlint]
87
-
88
- - repo: https://github.com/elidupuis/mirrors-sass-lint
89
- rev: "5cc45653263b423398e4af2561fae362903dd45d"
90
- hooks:
91
- - id: sass-lint
1
+ repos:
2
+ - repo: https://github.com/psf/black
3
+ rev: 25.1.0
4
+ hooks:
5
+ - id: black
6
+ args: [--safe, --quiet, --line-length=88]
7
+
8
+ - repo: https://github.com/tox-dev/pyproject-fmt
9
+ rev: "v2.6.0"
10
+ hooks:
11
+ - id: pyproject-fmt
12
+ # https://pyproject-fmt.readthedocs.io/en/latest/#calculating-max-supported-python-version
13
+ additional_dependencies: ["tox>=4.9"]
14
+
15
+ - repo: https://github.com/asottile/blacken-docs
16
+ rev: 1.19.1
17
+ hooks:
18
+ - id: blacken-docs
19
+ additional_dependencies: [black==24.10.0]
20
+
21
+ - repo: https://github.com/pre-commit/pre-commit-hooks
22
+ rev: v5.0.0
23
+ hooks:
24
+ - id: trailing-whitespace
25
+ - id: end-of-file-fixer
26
+ - id: fix-encoding-pragma
27
+ args: [--remove]
28
+ - id: check-yaml
29
+ - id: debug-statements
30
+ language_version: python3
31
+ - id: no-commit-to-branch
32
+ args: ['--branch', 'master']
33
+
34
+ - repo: https://github.com/PyCQA/flake8
35
+ rev: 7.3.0
36
+ hooks:
37
+ - id: flake8
38
+ language_version: python3
39
+ additional_dependencies:
40
+ - flake8-builtins==1.5.3
41
+ - flake8-typing-imports==1.12.0
42
+
43
+ - repo: https://github.com/asottile/reorder-python-imports
44
+ rev: v3.15.0
45
+ hooks:
46
+ - id: reorder-python-imports
47
+ args: ["--application-directories=.:src:testing", --py3-plus]
48
+
49
+ - repo: https://github.com/asottile/pyupgrade
50
+ rev: v3.20.0
51
+ hooks:
52
+ - id: pyupgrade
53
+ args: [--py39-plus]
54
+
55
+ - repo: https://github.com/pre-commit/mirrors-eslint
56
+ rev: v9.29.0
57
+ hooks:
58
+ - id: eslint
59
+ additional_dependencies:
60
+ - eslint@8.20.0
61
+ - eslint-config-google@0.14.0
62
+ args: ["--fix"]
63
+ - repo: https://github.com/pre-commit/mirrors-mypy
64
+ rev: v1.16.1
65
+ hooks:
66
+ - id: mypy
67
+ files: ^(pytest_xhtml|testing)
68
+ additional_dependencies:
69
+ - types-setuptools
70
+ - repo: local
71
+ hooks:
72
+ - id: rst
73
+ name: rst
74
+ entry: rst-lint --encoding utf-8
75
+ files: ^(README.rst)$
76
+ language: python
77
+ additional_dependencies: [pygments, restructuredtext_lint]
78
+
79
+ - repo: local
80
+ hooks:
81
+ - id: djlint
82
+ name: djlint
83
+ entry: djlint
84
+ files: \.jinja2$
85
+ language: python
86
+ additional_dependencies: [djlint]
87
+
88
+ - repo: https://github.com/elidupuis/mirrors-sass-lint
89
+ rev: "5cc45653263b423398e4af2561fae362903dd45d"
90
+ hooks:
91
+ - id: sass-lint