projects
/
doneit
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3000ff4
)
More tests, more bug fixes
author
Ed Page
<eopage@byu.net>
Sat, 18 Apr 2009 22:10:38 +0000
(17:10 -0500)
committer
Ed Page
<eopage@byu.net>
Sat, 18 Apr 2009 22:10:38 +0000
(17:10 -0500)
tests/test_backend.py
patch
|
blob
|
history
diff --git
a/tests/test_backend.py
b/tests/test_backend.py
index
f7f4a42
..
d0606b3
100644
(file)
--- a/
tests/test_backend.py
+++ b/
tests/test_backend.py
@@
-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