We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0661937 commit 83346e9Copy full SHA for 83346e9
tests/client/tui/test_main.py
@@ -63,4 +63,6 @@ def test_get_visit_list(
63
64
# Check that expected outputs are correct (order-sensitive)
65
for v, visit in enumerate(visits):
66
- assert visit.dict() == Visit.parse_obj(example_visits[v]).dict()
+ assert (
67
+ visit.model_dump() == Visit.model_validate(example_visits[v]).model_dump()
68
+ )
0 commit comments