about summary refs log tree commit diff stats
path: root/test/tc_newkeys.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/tc_newkeys.py')
-rw-r--r--test/tc_newkeys.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/tc_newkeys.py b/test/tc_newkeys.py
index e8a8dbee..10519dbf 100644
--- a/test/tc_newkeys.py
+++ b/test/tc_newkeys.py
@@ -310,7 +310,6 @@ class Tree(object):
 		else:
 			return tree
 
-
 class KeyMap(Tree):
 	"""Contains a tree with all the keybindings"""
 	def add(self, *args, **keywords):
@@ -656,12 +655,12 @@ class Test(PressTestCase):
 
 	def test_tree_deep_copy(self):
 		t = Tree()
-		s = t.plow('abc')
-		s['d'] = "X"
+		s = t.plow('abcd')
+		s.replace('X')
 		u = t.copy()
 		self.assertEqual(t._tree, u._tree)
-		s = t.traverse('ab')
-		s['c'] = 'Y'
+		s = t.traverse('abc')
+		s.replace('Y')
 		self.assertNotEqual(t._tree, u._tree)