Public bug reported: Binary package hint: python-unit
The graphical unit test runner, unittestgui.py, cannot find unit test modules when they are in the current-working directory. To alleviate this problem, modify the source package in the following way: diff -u python-unit-1.4.1.orig/unittestgui.py python-unit-1.4.1/unittestgui.py --- python-unit-1.4.1.orig/unittestgui.py 2007-10-01 00:46:25.000000000 -0700 +++ python-unit-1.4.1/unittestgui.py 2007-10-01 00:46:53.000000000 -0700 @@ -72,6 +72,7 @@ self.__rollbackImporter.rollbackImports() self.__rollbackImporter = RollbackImporter() try: + sys.path.append('.') test = unittest.defaultTestLoader.loadTestsFromName(testName) except: exc_type, exc_value, exc_tb = sys.exc_info() ** Affects: python-unit (Ubuntu) Importance: Undecided Status: New -- unittestgui cannot find test modules when in current-working directory. [Patch included!] https://bugs.launchpad.net/bugs/147543 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs