File: __init__.py

package info (click to toggle)
openapi-pydantic 0.5.1-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 744 kB
  • sloc: python: 4,392; makefile: 4
file content (6 lines) | stat: -rw-r--r-- 166 bytes parent folder | download
1
2
3
4
5
6
from openapi_pydantic.v3.v3_1.schema import Schema, schema_validate


def test_empty_schema() -> None:
    schema = schema_validate({})
    assert schema == Schema()