feat: swipe complete, list archive, today habits and calendar subscriptions
ci / docker (push) Successful in 3m20s

This commit is contained in:
2026-09-06 09:33:37 +08:00
parent 13715945d5
commit b937c8ca72
15 changed files with 474 additions and 57 deletions
+5
View File
@@ -212,6 +212,11 @@ def test_inbox_is_protected_and_deleted_collections_are_hidden(client):
).json()
assert client.delete(f"/api/v1/lists/{task_list['id']}").status_code == 204
assert all(row["id"] != task_list["id"] for row in client.get("/api/v1/lists").json())
archived = client.get("/api/v1/lists", params={"archived": True})
assert archived.status_code == 200
assert [row["id"] for row in archived.json()] == [task_list["id"]]
assert client.post(f"/api/v1/lists/{task_list['id']}/restore").status_code == 200
assert any(row["id"] == task_list["id"] for row in client.get("/api/v1/lists").json())
moved = client.get(f"/api/v1/tasks/{task['id']}").json()
assert moved["list_id"] == inbox["id"]
assert client.delete(f"/api/v1/folders/{folder['id']}").status_code == 204