Skip to content

Commit

Permalink
test: add unit test for returning inspected object
Browse files Browse the repository at this point in the history
  • Loading branch information
igrek51 committed Jul 26, 2024
1 parent b14e7ab commit f1df2f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/inspection/test_inspect.py
Original file line number Diff line number Diff line change
Expand Up @@ -323,3 +323,7 @@ class Person(BaseModel):
type: test_inspect\.Person
parents: pydantic\.main\.BaseModel
''')


def test_returning_inspected_object():
assert wat.short.ret / 'hello' == 'hello'

0 comments on commit f1df2f6

Please sign in to comment.