diff options
author | hut <hut@lavabit.com> | 2009-12-30 05:48:20 +0100 |
---|---|---|
committer | hut <hut@lavabit.com> | 2009-12-30 05:48:20 +0100 |
commit | f1352f4009333f382a1dddfe089326b8a57b4150 (patch) | |
tree | 45ffde3d1dbec6af42c81e9adc6f920452f32a47 /test/tc_ui.py | |
parent | 923844b32aa8253d78c4aea005eee1b4df67fa6d (diff) | |
download | ranger-f1352f4009333f382a1dddfe089326b8a57b4150.tar.gz |
fixed a few things~
Diffstat (limited to 'test/tc_ui.py')
-rw-r--r-- | test/tc_ui.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/tc_ui.py b/test/tc_ui.py index fbe51f64..f509ff36 100644 --- a/test/tc_ui.py +++ b/test/tc_ui.py @@ -25,17 +25,6 @@ class Test(unittest.TestCase): def tearDown(self): self.ui.destroy() - def test_scrolling(self): - # test whether scrolling works - self.fm.scroll = raise_ok - self.ui.get_focused_obj = lambda: False - - ui.curses.getmouse = lambda: (0, 0, 0, 0, curses.BUTTON2_PRESSED) - self.assertRaises(OK, self.ui.handle_mouse) - - ui.curses.getmouse = lambda: (0, 0, 0, 0, curses.BUTTON4_PRESSED) - self.assertRaises(OK, self.ui.handle_mouse) - def test_passing(self): # Test whether certain method calls are passed to widgets widget = self.ui.widget |