Skip to content

Commit 278b9ff

Browse files
author
Joel Collins
committed
Added schema to test property view
1 parent 470b4f6 commit 278b9ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_views_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ def test_property_of_no_schema(app, client):
1010
obj = type("obj", (object,), {"property_name": "propertyValue"})
1111

1212
# GeneratedClass = builder.property_of(obj, "property_name", schema=fields.String())
13-
GeneratedClass = builder.property_of(obj, "property_name")
13+
GeneratedClass = builder.property_of(obj, "property_name", schema=fields.String())
1414
app.add_url_rule("/", view_func=GeneratedClass.as_view("index"))
1515

1616
with client as c:

0 commit comments

Comments
 (0)