File: test_types_json.py

package info (click to toggle)
python-cyclopts 3.12.0-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,288 kB
  • sloc: python: 11,445; makefile: 24
file content (5 lines) | stat: -rw-r--r-- 131 bytes parent folder | download | duplicates (2)
1
2
3
4
5
from cyclopts import types as ct


def test_types_json(convert):
    assert {"foo": "bar"} == convert(ct.Json, ['{"foo": "bar"}'])