Skip to content

Commit 8363066

Browse files
committed
Added failing test
1 parent 2967f16 commit 8363066

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_model_controller/test_model_controller_operation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ def test_event_model_controller_with_schema():
169169
res = client.get("/")
170170
assert res.status_code == 200
171171
data = res.json()
172-
assert data["count"]
173-
assert data["results"]
172+
assert len(data) == 1
173+
174174
# PUT
175175
test_item.update(title="test updated")
176176
res = client.put(f"/{working_id}", json=test_item)

0 commit comments

Comments
 (0)