summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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)
 
 
ail.com> 2015-05-31 00:12:13 +0100 committer James Booth <boothj5@gmail.com> 2015-05-31 00:12:13 +0100 Added simple message tests' href='/danisanti/profani-tty/commit/functionaltests/functionaltests.c?id=373f47c711bafa4c1a08690f668b4953a914ee38'>373f47c7 ^
5e324e40 ^
c6ff761a ^
d54cbf12 ^
f9a7e350 ^
de747e3d ^
87b4d7cb ^
e1e0fda8 ^
97c5072f ^
52e2917b ^

97c5072f ^


e295a474 ^
377a63d0 ^





f189dbc6 ^




377a63d0 ^














2b7894cc ^
377a63d0 ^

373f47c7 ^
52e2917b ^
6303e0e2 ^


377a63d0 ^











fca59a31 ^
377a63d0 ^


a978bb12 ^
377a63d0 ^












377a63d0 ^







ee664bf1 ^

69ac8097 ^


e1e0fda8 ^

97c5072f ^



1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114