summaryrefslogtreecommitdiff
path: root/tests/test_tree.py
diff options
context:
space:
mode:
authorLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:27:06 -0500
committerLeonard Richardson <leonard.richardson@canonical.com>2011-02-18 07:27:06 -0500
commitfcee9c4992e44f926d472e818efe77021b903f8f (patch)
tree03f4ba68c36fa3e293c1187232ee17944e1d5554 /tests/test_tree.py
parentd35b41180014d950c7ca17fc30bfc59a0df50103 (diff)
Renamed findAllPrevious to find_all_previous.
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 86272bb..d2361cb 100644
--- a/tests/test_tree.py
+++ b/tests/test_tree.py
@@ -369,8 +369,8 @@ class TestPreviousOperations(ProximityTest):
# of the "Three" node itself, which is why "Three" shows up
# here.
self.assertSelects(
- self.end.find_allPrevious('b'), ["Three", "Two", "One"])
- self.assertSelects(self.end.find_allPrevious(id=1), ["One"])
+ self.end.find_all_previous('b'), ["Three", "Two", "One"])
+ self.assertSelects(self.end.find_all_previous(id=1), ["One"])
def test_find_previous(self):
self.assertEquals(self.end.findPrevious('b')['id'], '3')
@@ -380,7 +380,7 @@ class TestPreviousOperations(ProximityTest):
text = self.tree.find(text="Three")
self.assertEquals(text.findPrevious("b").string, "Three")
self.assertSelects(
- text.find_allPrevious("b"), ["Three", "Two", "One"])
+ text.find_all_previous("b"), ["Three", "Two", "One"])
def test_previous_generator(self):
start = self.tree.find(text="One")