summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2009-12-29 00:26:58 +0100
committerhut <hut@lavabit.com>2009-12-29 00:26:58 +0100
commite3e37e3f8cd737585799429e09159bc4dbf330c8 (patch)
tree27e4bc8ec428f3b3359076c78eb77cdd9ffc4c8b
parent3e092587bbcd5d8123a323884cb03b54747005e4 (diff)
downloadranger-e3e37e3f8cd737585799429e09159bc4dbf330c8.tar.gz
updated test
-rw-r--r--test/tc_displayable.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/tc_displayable.py b/test/tc_displayable.py
index 01be0c9c..3acf338b 100644
--- a/test/tc_displayable.py
+++ b/test/tc_displayable.py
@@ -27,8 +27,8 @@ class TestDisplayable(unittest.TestCase):
 		# Using a color method implies change of window attributes
 		disp = self.disp
 
-		self.win.chgat = raise_ok
-		self.win.attrset = raise_ok
+		disp.win.chgat = raise_ok
+		disp.win.attrset = raise_ok
 
 		self.assertRaises(OK, disp.color, 'a', 'b')
 		self.assertRaises(OK, disp.color_at, 0, 0, 0, 'a', 'b')
8'>128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193