More tests, more bug fixes
[doneit] / tests / test_backend.py
index f7f4a42..d0606b3 100644 (file)
@@ -166,3 +166,8 @@ def exercise_task(backend, proj1Id, proj2Id):
        assert task["name"] == TASK_1_NAME
        assert task["projId"] == proj1Id
        assert task["id"] == taskId
+
+       proj1Tasks = list(backend.get_tasks_with_details(proj1Id))
+       assert len(proj1Tasks) == 1
+       proj2Tasks = list(backend.get_tasks_with_details(proj2Id))
+       assert len(proj2Tasks) == 0