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 2967f16 commit 8363066Copy full SHA for 8363066
tests/test_model_controller/test_model_controller_operation.py
@@ -169,8 +169,8 @@ def test_event_model_controller_with_schema():
169
res = client.get("/")
170
assert res.status_code == 200
171
data = res.json()
172
- assert data["count"]
173
- assert data["results"]
+ assert len(data) == 1
+
174
# PUT
175
test_item.update(title="test updated")
176
res = client.put(f"/{working_id}", json=test_item)
0 commit comments