summaryrefslogtreecommitdiff
path: root/test/git/async/test_graph.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-06 21:15:13 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-06 21:31:51 +0200
commit1b27292936c81637f6b9a7141dafaad1126f268e (patch)
treef629d098429099934a35798312e6e0660df0d677 /test/git/async/test_graph.py
parentb3cde0ee162b8f0cb67da981311c8f9c16050a62 (diff)
downloadgitpython-1b27292936c81637f6b9a7141dafaad1126f268e.tar.gz
Plenty of fixes in the chunking routine, made possible by a serialized chunking test. Next up, actual async processing
Diffstat (limited to 'test/git/async/test_graph.py')
-rw-r--r--test/git/async/test_graph.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/git/async/test_graph.py b/test/git/async/test_graph.py
index ca17d6e6..1a153e2d 100644
--- a/test/git/async/test_graph.py
+++ b/test/git/async/test_graph.py
@@ -54,7 +54,8 @@ class TestGraph(TestBase):
# deleting a connected node clears its neighbour connections
assert n3.in_nodes[0] is n2
- g.del_node(n2)
+ assert g.del_node(n2) is g
+ assert g.del_node(n2) is g # multi-deletion okay
assert len(g.nodes) == nn - 1
assert len(n3.in_nodes) == 0
assert len(n1.out_nodes) == 0