summaryrefslogtreecommitdiff
path: root/tests/test_tree.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:25:01 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:25:01 -0500
commitd35b41180014d950c7ca17fc30bfc59a0df50103 (patch)
tree5caaf90269cf3d3d8b20467a48d0d04593237d7f /tests/test_tree.py
parent02f2da4a27b3bae40a414ce753cc9b4901796161 (diff)
Renamed findAllNext to find_all_next.
Diffstat (limited to 'tests/test_tree.py')
-rw-r--r--tests/test_tree.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_tree.py b/tests/test_tree.py
index e023cc7..86272bb 100644
--- a/tests/test_tree.py
+++ b/tests/test_tree.py
@@ -318,8 +318,8 @@ class TestNextOperations(ProximityTest):
self.assertEquals(self.tree.next, None)
def test_find_all_next(self):
- self.assertSelects(self.start.find_allNext('b'), ["Two", "Three"])
- self.assertSelects(self.start.find_allNext(id=3), ["Three"])
+ self.assertSelects(self.start.find_all_next('b'), ["Two", "Three"])
+ self.assertSelects(self.start.find_all_next(id=3), ["Three"])
def test_find_next(self):
self.assertEquals(self.start.find_next('b')['id'], '2')
@@ -328,7 +328,7 @@ class TestNextOperations(ProximityTest):
def test_find_next_for_text_element(self):
text = self.tree.find(text="One")
self.assertEquals(text.find_next("b").string, "Two")
- self.assertSelects(text.find_allNext("b"), ["Two", "Three"])
+ self.assertSelects(text.find_all_next("b"), ["Two", "Three"])
def test_next_generator(self):
start = self.tree.find(text="Two")