summaryrefslogtreecommitdiff
path: root/test/git/async/test_graph.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-06 18:13:21 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-06 18:13:21 +0200
commitb3cde0ee162b8f0cb67da981311c8f9c16050a62 (patch)
tree537615b8d7cfd059b2d7938a1929d9e3199fb374 /test/git/async/test_graph.py
parentec28ad575ce1d7bb6a616ffc404f32bbb1af67b2 (diff)
downloadgitpython-b3cde0ee162b8f0cb67da981311c8f9c16050a62.tar.gz
First step of testing the pool - tasks have been separated into a new module including own tests, their design improved to prepare them for some specifics that would be needed for multiprocessing support
Diffstat (limited to 'test/git/async/test_graph.py')
-rw-r--r--test/git/async/test_graph.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/git/async/test_graph.py b/test/git/async/test_graph.py
index 400e92cd..ca17d6e6 100644
--- a/test/git/async/test_graph.py
+++ b/test/git/async/test_graph.py
@@ -25,7 +25,7 @@ class TestGraph(TestBase):
# add a chain of connected nodes
last = None
for i in range(nn):
- n = g.add_node(Node())
+ n = g.add_node(Node(i))
if last:
assert not last.out_nodes
assert not n.in_nodes