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')
>^
af21f7d1 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15