feat: swipe complete, list archive, today habits and calendar subscriptions
ci / docker (push) Successful in 3m20s
ci / docker (push) Successful in 3m20s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user