pytest-jsonschema 1.0.0a1__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.
@@ -0,0 +1,22 @@
1
+
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2024 Érico Andrei
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in
14
+ all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22
+ THE SOFTWARE.
@@ -0,0 +1,109 @@
1
+ Metadata-Version: 2.1
2
+ Name: pytest-jsonschema
3
+ Version: 1.0.0a1
4
+ Summary: A pytest plugin to perform JSONSchema validations
5
+ Author-email: Érico Andrei <ericof@plone.org>
6
+ Maintainer-email: Érico Andrei <ericof@plone.org>
7
+ License:
8
+ The MIT License (MIT)
9
+
10
+ Copyright (c) 2024 Érico Andrei
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in
20
+ all copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28
+ THE SOFTWARE.
29
+
30
+ Project-URL: Repository, https://github.com/collective/pytest-jsonschema
31
+ Keywords: pytest,testing
32
+ Classifier: Framework :: Pytest
33
+ Classifier: Development Status :: 4 - Beta
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: Topic :: Software Development :: Testing
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python
38
+ Classifier: Programming Language :: Python :: 3.8
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3 :: Only
44
+ Classifier: Programming Language :: Python :: Implementation :: CPython
45
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
46
+ Classifier: License :: OSI Approved :: MIT License
47
+ Requires-Python: >=3.8
48
+ Description-Content-Type: text/markdown
49
+ Provides-Extra: release
50
+ Provides-Extra: test
51
+ License-File: LICENSE
52
+
53
+ <h1 align="center">pytest-jsonschema</h1>
54
+
55
+ <div align="center">
56
+
57
+ [![PyPI](https://img.shields.io/pypi/v/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
58
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
59
+ [![PyPI - Wheel](https://img.shields.io/pypi/wheel/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
60
+ [![PyPI - License](https://img.shields.io/pypi/l/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
61
+ [![PyPI - Status](https://img.shields.io/pypi/status/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
62
+
63
+
64
+ [![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
65
+
66
+ [![Tests](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml)
67
+ [![Linters](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml)
68
+ ![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)
69
+
70
+ [![GitHub contributors](https://img.shields.io/github/contributors/collective/pytest-jsonschema)](https://github.com/collective/pytest-jsonschema)
71
+ [![GitHub Repo stars](https://img.shields.io/github/stars/collective/pytest-jsonschema?style=social)](https://github.com/collective/pytest-jsonschema)
72
+ </div>
73
+
74
+ **pytest-jsonschema** is a [pytest](https://docs.pytest.org) plugin providing fixtures to perform JSONSchema validations.
75
+
76
+ Features
77
+ --------
78
+
79
+ * TODO
80
+
81
+
82
+ Requirements
83
+ ------------
84
+
85
+ * TODO
86
+
87
+
88
+ Installation
89
+ ------------
90
+
91
+ You can install "pytest-jsonschema" via `pip`_ from `PyPI`_::
92
+
93
+ $ pip install pytest-jsonschema
94
+
95
+
96
+ Usage
97
+ -----
98
+
99
+ * TODO
100
+
101
+ Contributing
102
+ ------------
103
+ Contributions are very welcome. Tests can be run with `tox`_, please ensure
104
+ the coverage at least stays the same before you submit a pull request.
105
+
106
+ License
107
+ -------
108
+
109
+ Distributed under the terms of the `MIT`_ license, "pytest-jsonschema" is free and open source software
@@ -0,0 +1,57 @@
1
+ <h1 align="center">pytest-jsonschema</h1>
2
+
3
+ <div align="center">
4
+
5
+ [![PyPI](https://img.shields.io/pypi/v/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
7
+ [![PyPI - Wheel](https://img.shields.io/pypi/wheel/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
8
+ [![PyPI - License](https://img.shields.io/pypi/l/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
9
+ [![PyPI - Status](https://img.shields.io/pypi/status/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
10
+
11
+
12
+ [![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
13
+
14
+ [![Tests](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml)
15
+ [![Linters](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml)
16
+ ![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)
17
+
18
+ [![GitHub contributors](https://img.shields.io/github/contributors/collective/pytest-jsonschema)](https://github.com/collective/pytest-jsonschema)
19
+ [![GitHub Repo stars](https://img.shields.io/github/stars/collective/pytest-jsonschema?style=social)](https://github.com/collective/pytest-jsonschema)
20
+ </div>
21
+
22
+ **pytest-jsonschema** is a [pytest](https://docs.pytest.org) plugin providing fixtures to perform JSONSchema validations.
23
+
24
+ Features
25
+ --------
26
+
27
+ * TODO
28
+
29
+
30
+ Requirements
31
+ ------------
32
+
33
+ * TODO
34
+
35
+
36
+ Installation
37
+ ------------
38
+
39
+ You can install "pytest-jsonschema" via `pip`_ from `PyPI`_::
40
+
41
+ $ pip install pytest-jsonschema
42
+
43
+
44
+ Usage
45
+ -----
46
+
47
+ * TODO
48
+
49
+ Contributing
50
+ ------------
51
+ Contributions are very welcome. Tests can be run with `tox`_, please ensure
52
+ the coverage at least stays the same before you submit a pull request.
53
+
54
+ License
55
+ -------
56
+
57
+ Distributed under the terms of the `MIT`_ license, "pytest-jsonschema" is free and open source software
@@ -0,0 +1,106 @@
1
+ [build-system]
2
+ requires = [
3
+ "setuptools>=61.0.0",
4
+ ]
5
+ build-backend = "setuptools.build_meta"
6
+
7
+ [project]
8
+ name = "pytest-jsonschema"
9
+ description = "A pytest plugin to perform JSONSchema validations"
10
+ version = "1.0.0a1"
11
+ readme = "README.md"
12
+ requires-python = ">=3.8"
13
+ authors = [
14
+ { name = "Érico Andrei", email = "ericof@plone.org" },
15
+ ]
16
+ maintainers = [
17
+ { name = "Érico Andrei", email = "ericof@plone.org" },
18
+ ]
19
+ keywords = [
20
+ "pytest",
21
+ "testing",
22
+ ]
23
+ license = {file = "LICENSE"}
24
+ classifiers = [
25
+ "Framework :: Pytest",
26
+ "Development Status :: 4 - Beta",
27
+ "Intended Audience :: Developers",
28
+ "Topic :: Software Development :: Testing",
29
+ "Operating System :: OS Independent",
30
+ "Programming Language :: Python",
31
+ "Programming Language :: Python :: 3.8",
32
+ "Programming Language :: Python :: 3.9",
33
+ "Programming Language :: Python :: 3.10",
34
+ "Programming Language :: Python :: 3.11",
35
+ "Programming Language :: Python :: 3.12",
36
+ "Programming Language :: Python :: 3 :: Only",
37
+ "Programming Language :: Python :: Implementation :: CPython",
38
+ "Programming Language :: Python :: Implementation :: PyPy",
39
+ "License :: OSI Approved :: MIT License",
40
+ ]
41
+ dependencies = [
42
+ "pytest>=6.2.0",
43
+ "ruamel.yaml",
44
+ "jsonschema",
45
+ "tomli==2.0.1 ; python_version<='3.11'",
46
+ ]
47
+
48
+ [project.optional-dependencies]
49
+ release = [
50
+ "zest.releaser[recommended]",
51
+ "zestreleaser.towncrier",
52
+ ]
53
+ test = [
54
+ "pytest-cov",
55
+ "pre-commit",
56
+ "tox",
57
+ ]
58
+
59
+ [project.urls]
60
+ Repository = "https://github.com/collective/pytest-jsonschema"
61
+ [project.entry-points.pytest11]
62
+ jsonschema = "pytest_jsonschema.fixtures"
63
+
64
+ [tool.isort]
65
+ profile = "plone"
66
+
67
+ [tool.black]
68
+ target-version = ["py38"]
69
+
70
+ [tool.codespell]
71
+ ignore-words-list = "discreet,vew"
72
+ skip = "*.po,*.min.js,*.json"
73
+
74
+ [tool.towncrier]
75
+ filename = "CHANGELOG.md"
76
+ directory = "news/"
77
+ title_format = "## {version} ({project_date})"
78
+ underlines = ["", "", ""]
79
+ template = "./docs/towncrier_template.jinja"
80
+ start_string = "<!-- towncrier release notes start -->\n"
81
+ issue_format = "[#{issue}](https://github.com/collective/pytest-jsonschema/issue/{issue})"
82
+
83
+ [[tool.towncrier.type]]
84
+ directory = "breaking"
85
+ name = "Breaking"
86
+ showcontent = true
87
+
88
+ [[tool.towncrier.type]]
89
+ directory = "feature"
90
+ name = "Feature"
91
+ showcontent = true
92
+
93
+ [[tool.towncrier.type]]
94
+ directory = "bugfix"
95
+ name = "Bugfix"
96
+ showcontent = true
97
+
98
+ [[tool.towncrier.type]]
99
+ directory = "internal"
100
+ name = "Internal"
101
+ showcontent = true
102
+
103
+ [[tool.towncrier.type]]
104
+ directory = "documentation"
105
+ name = "Documentation"
106
+ showcontent = true
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,44 @@
1
+ from . import loaders
2
+ from . import schemas
3
+ from . import types
4
+ from . import validator
5
+
6
+ import pytest
7
+
8
+
9
+ @pytest.fixture
10
+ def schema_validate_file() -> types.FileValidator:
11
+ """Validate a file againstt a known JSON Schema."""
12
+
13
+ def func(path: types.StrPath, schema_name: str, file_type: str = "") -> bool:
14
+ """Validate a file against a known JSON Schema."""
15
+ data = loaders.data_from_file(path, file_type=file_type)
16
+ schema = schemas.load(schema_name)
17
+ return validator.validate(data, schema)
18
+
19
+ return func
20
+
21
+
22
+ @pytest.fixture
23
+ def schema_validate_string() -> types.StrValidator:
24
+ """Validate a string againstt a known JSON Schema."""
25
+
26
+ def func(data: str, schema_name: str, file_type: str = "") -> bool:
27
+ """Validate a string against a known JSON Schema."""
28
+ data = loaders.data_from_string(data, file_type=file_type)
29
+ schema = schemas.load(schema_name)
30
+ return validator.validate(data, schema)
31
+
32
+ return func
33
+
34
+
35
+ @pytest.fixture
36
+ def schema_validate() -> types.Validator:
37
+ """Validate a string againstt a known JSON Schema."""
38
+
39
+ def func(data: types.DataStructure, schema_name: str) -> bool:
40
+ """Validate a file against a known JSON Schema."""
41
+ schema = schemas.load(schema_name)
42
+ return validator.validate(data, schema)
43
+
44
+ return func
@@ -0,0 +1,47 @@
1
+ from pathlib import Path
2
+ from ruamel.yaml import YAML
3
+ from typing import Union
4
+
5
+ import json
6
+
7
+
8
+ try:
9
+ import tomllib # Python 3.12
10
+ except ImportError:
11
+ import tomli as tomllib
12
+
13
+ yaml = YAML()
14
+
15
+ _FILETYPES = {
16
+ ".json": "json",
17
+ ".toml": "toml",
18
+ ".yaml": "yaml",
19
+ ".yml": "yaml",
20
+ }
21
+
22
+ _LOADERS = {
23
+ "json": json.loads,
24
+ "toml": tomllib.loads,
25
+ "yaml": yaml.load,
26
+ }
27
+
28
+
29
+ def _guess_format(path: Path) -> str:
30
+ """Given a path, try to guess the correct filetype."""
31
+ extension = path.suffix
32
+ return _FILETYPES.get(extension, "")
33
+
34
+
35
+ def data_from_file(path: Path, file_type: str = "") -> Union[dict, list]:
36
+ """Load data from file."""
37
+ path = Path(path)
38
+ if file_type not in _LOADERS:
39
+ file_type = _guess_format(path)
40
+ data = path.read_text()
41
+ return data_from_string(data, file_type)
42
+
43
+
44
+ def data_from_string(data: str, file_type: str) -> Union[dict, list]:
45
+ """Load data from string."""
46
+ loader = _LOADERS.get(file_type)
47
+ return loader(data)
@@ -0,0 +1,9 @@
1
+ from pathlib import Path
2
+
3
+ import json
4
+
5
+
6
+ def load(schema_name: str) -> dict:
7
+ """Load data from string."""
8
+ base_path = Path(__file__).parent / f"{schema_name}.json"
9
+ return json.loads(base_path.read_text())
@@ -0,0 +1,22 @@
1
+ from pathlib import Path
2
+ from typing import Protocol
3
+ from typing import Union
4
+
5
+
6
+ StrPath = Union[str, Path]
7
+ DataStructure = Union[dict, list]
8
+
9
+
10
+ class FileValidator(Protocol):
11
+ def __call__(self, path: StrPath, schema_name: str, file_type: str = "") -> bool:
12
+ ...
13
+
14
+
15
+ class StrValidator(Protocol):
16
+ def __call__(self, data: str, schema_name: str, file_type: str = "") -> bool:
17
+ ...
18
+
19
+
20
+ class Validator(Protocol):
21
+ def __call__(self, data: DataStructure, schema_name: str) -> bool:
22
+ ...
@@ -0,0 +1,19 @@
1
+ from .types import DataStructure
2
+
3
+ import jsonschema
4
+ import logging
5
+
6
+
7
+ logger = logging.getLogger("pytest-jsonschema")
8
+
9
+
10
+ def validate(data: DataStructure, schema: dict) -> bool:
11
+ """Validate a data structure against a JSON Schema."""
12
+ try:
13
+ jsonschema.validate(data, schema)
14
+ except jsonschema.ValidationError as exc:
15
+ logger.error(f"Validation failed: {exc}")
16
+ validation = False
17
+ else:
18
+ validation = True
19
+ return validation
@@ -0,0 +1,109 @@
1
+ Metadata-Version: 2.1
2
+ Name: pytest-jsonschema
3
+ Version: 1.0.0a1
4
+ Summary: A pytest plugin to perform JSONSchema validations
5
+ Author-email: Érico Andrei <ericof@plone.org>
6
+ Maintainer-email: Érico Andrei <ericof@plone.org>
7
+ License:
8
+ The MIT License (MIT)
9
+
10
+ Copyright (c) 2024 Érico Andrei
11
+
12
+ Permission is hereby granted, free of charge, to any person obtaining a copy
13
+ of this software and associated documentation files (the "Software"), to deal
14
+ in the Software without restriction, including without limitation the rights
15
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
16
+ copies of the Software, and to permit persons to whom the Software is
17
+ furnished to do so, subject to the following conditions:
18
+
19
+ The above copyright notice and this permission notice shall be included in
20
+ all copies or substantial portions of the Software.
21
+
22
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
23
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
25
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
26
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
27
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
28
+ THE SOFTWARE.
29
+
30
+ Project-URL: Repository, https://github.com/collective/pytest-jsonschema
31
+ Keywords: pytest,testing
32
+ Classifier: Framework :: Pytest
33
+ Classifier: Development Status :: 4 - Beta
34
+ Classifier: Intended Audience :: Developers
35
+ Classifier: Topic :: Software Development :: Testing
36
+ Classifier: Operating System :: OS Independent
37
+ Classifier: Programming Language :: Python
38
+ Classifier: Programming Language :: Python :: 3.8
39
+ Classifier: Programming Language :: Python :: 3.9
40
+ Classifier: Programming Language :: Python :: 3.10
41
+ Classifier: Programming Language :: Python :: 3.11
42
+ Classifier: Programming Language :: Python :: 3.12
43
+ Classifier: Programming Language :: Python :: 3 :: Only
44
+ Classifier: Programming Language :: Python :: Implementation :: CPython
45
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
46
+ Classifier: License :: OSI Approved :: MIT License
47
+ Requires-Python: >=3.8
48
+ Description-Content-Type: text/markdown
49
+ Provides-Extra: release
50
+ Provides-Extra: test
51
+ License-File: LICENSE
52
+
53
+ <h1 align="center">pytest-jsonschema</h1>
54
+
55
+ <div align="center">
56
+
57
+ [![PyPI](https://img.shields.io/pypi/v/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
58
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
59
+ [![PyPI - Wheel](https://img.shields.io/pypi/wheel/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
60
+ [![PyPI - License](https://img.shields.io/pypi/l/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
61
+ [![PyPI - Status](https://img.shields.io/pypi/status/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
62
+
63
+
64
+ [![PyPI - Plone Versions](https://img.shields.io/pypi/frameworkversions/plone/pytest-jsonschema)](https://pypi.org/project/pytest-jsonschema/)
65
+
66
+ [![Tests](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/code.yml)
67
+ [![Linters](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml/badge.svg)](https://github.com/collective/pytest-jsonschema/actions/workflows/lint.yml)
68
+ ![Code Style](https://img.shields.io/badge/Code%20Style-Black-000000)
69
+
70
+ [![GitHub contributors](https://img.shields.io/github/contributors/collective/pytest-jsonschema)](https://github.com/collective/pytest-jsonschema)
71
+ [![GitHub Repo stars](https://img.shields.io/github/stars/collective/pytest-jsonschema?style=social)](https://github.com/collective/pytest-jsonschema)
72
+ </div>
73
+
74
+ **pytest-jsonschema** is a [pytest](https://docs.pytest.org) plugin providing fixtures to perform JSONSchema validations.
75
+
76
+ Features
77
+ --------
78
+
79
+ * TODO
80
+
81
+
82
+ Requirements
83
+ ------------
84
+
85
+ * TODO
86
+
87
+
88
+ Installation
89
+ ------------
90
+
91
+ You can install "pytest-jsonschema" via `pip`_ from `PyPI`_::
92
+
93
+ $ pip install pytest-jsonschema
94
+
95
+
96
+ Usage
97
+ -----
98
+
99
+ * TODO
100
+
101
+ Contributing
102
+ ------------
103
+ Contributions are very welcome. Tests can be run with `tox`_, please ensure
104
+ the coverage at least stays the same before you submit a pull request.
105
+
106
+ License
107
+ -------
108
+
109
+ Distributed under the terms of the `MIT`_ license, "pytest-jsonschema" is free and open source software
@@ -0,0 +1,15 @@
1
+ LICENSE
2
+ README.md
3
+ pyproject.toml
4
+ src/pytest_jsonschema/__init__.py
5
+ src/pytest_jsonschema/fixtures.py
6
+ src/pytest_jsonschema/loaders.py
7
+ src/pytest_jsonschema/types.py
8
+ src/pytest_jsonschema/validator.py
9
+ src/pytest_jsonschema.egg-info/PKG-INFO
10
+ src/pytest_jsonschema.egg-info/SOURCES.txt
11
+ src/pytest_jsonschema.egg-info/dependency_links.txt
12
+ src/pytest_jsonschema.egg-info/entry_points.txt
13
+ src/pytest_jsonschema.egg-info/requires.txt
14
+ src/pytest_jsonschema.egg-info/top_level.txt
15
+ src/pytest_jsonschema/schemas/__init__.py
@@ -0,0 +1,2 @@
1
+ [pytest11]
2
+ jsonschema = pytest_jsonschema.fixtures
@@ -0,0 +1,15 @@
1
+ pytest>=6.2.0
2
+ ruamel.yaml
3
+ jsonschema
4
+
5
+ [:python_version <= "3.11"]
6
+ tomli==2.0.1
7
+
8
+ [release]
9
+ zest.releaser[recommended]
10
+ zestreleaser.towncrier
11
+
12
+ [test]
13
+ pytest-cov
14
+ pre-commit
15
+ tox