From 85fd52880db93c6cd01f2c459eb46e6dd35d777c Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 7 Jun 2010 15:53:01 +0200 Subject: simplified all_tests.py, moved to test/ --- test/tc_ui.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'test/tc_ui.py') diff --git a/test/tc_ui.py b/test/tc_ui.py index 3c659459..dc8d669d 100644 --- a/test/tc_ui.py +++ b/test/tc_ui.py @@ -13,14 +13,12 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . -if __name__ == '__main__': from __init__ import init; init() - import unittest import curses from ranger.gui import ui -from test import Fake, OK, raise_ok +from testlib import Fake, OK, raise_ok ui.curses = Fake() @@ -39,7 +37,7 @@ class Test(unittest.TestCase): def tearDown(self): self.ui.destroy() - + def test_passing(self): # Test whether certain method calls are passed to widgets widget = self.ui.widget -- cgit 1.4.1-2-gfad0