Pytest-schema

Latest version: v0.1.2

Safety actively analyzes 621920 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.2

What's Changed
* Fixes code examples in README by ikrevem in https://github.com/codedawi/pytest-schema/pull/3
* build: allow for 3.9 to 3.12 by codedawi in https://github.com/codedawi/pytest-schema/pull/4

New Contributors
* ikrevem made their first contribution in https://github.com/codedawi/pytest-schema/pull/3

**Full Changelog**: https://github.com/codedawi/pytest-schema/compare/v0.1.1...v0.1.2

0.1.1

- Fixes bug related to `Enum` validate report in 1.
- Adding two new methods `like` and `exact` that are mirrors of `like_schema` and `exact_schema`.

0.1.0

A `pytest` based wrapper around the [`keleshev/schema v0.7.3`](https://github.com/keleshev/schema) package to allow uses to easy use this for validating integration test responses or other type/dict based validation. This allows users to quickly write up a pythonic schema and reduces the need for them to hard code matching values.

Packages offers `schema`, `like_schema`, `exact_schema` methods for validating schema using `==` or `!=`.

0.1.0rc2

Updated the `long_description_content_type` to `text/markdown` for pypi.org

0.1.0rc1

Basic implementation of validating return values against a schema-like object in testing.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.