Skip to content

Commit a455797

Browse files
author
Joel Collins
committed
Updated view builder tests
1 parent 5d2be38 commit a455797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_server_view_builder.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,8 @@ def test_property_of_name_description():
7373
obj, "property_name", name="property_name", description="property description"
7474
)
7575

76-
assert GeneratedClass.__apispec__.get("description") == "property description"
77-
assert GeneratedClass.__apispec__.get("summary") == "property description"
76+
assert GeneratedClass.description == "property description"
77+
assert GeneratedClass.summary == "property description"
7878

7979

8080
def test_action_from_with_args(app, client):

0 commit comments

Comments
 (0)