[Happydoc-checkins] CVS: HappyDoc test_happydoc.py,1.81,1.82
Brought to you by:
doughellmann,
krlosaqp
From: Doug H. <dou...@us...> - 2002-02-07 16:38:02
|
Update of /cvsroot/happydoc/HappyDoc In directory usw-pr-cvs1:/tmp/cvs-serv29184 Modified Files: test_happydoc.py Log Message: Specify 'bugs' as the test name to run all bug tests. Index: test_happydoc.py =================================================================== RCS file: /cvsroot/happydoc/HappyDoc/test_happydoc.py,v retrieving revision 1.81 retrieving revision 1.82 diff -C2 -d -r1.81 -r1.82 *** test_happydoc.py 7 Feb 2002 14:23:37 -0000 1.81 --- test_happydoc.py 7 Feb 2002 16:22:06 -0000 1.82 *************** *** 639,645 **** --- 639,648 ---- get_all_tests = 0 + get_bug_tests = 0 if 'all' in args: # We will define "all" of the tests later get_all_tests = 1 + elif 'bugs' in args: + get_bug_tests = 1 elif args: # Run the tests specified by the user *************** *** 685,688 **** --- 688,692 ---- # Formatters # + happydoclib.formatter.fileformatterbase, happydoclib.formatter.openoffice, happydoclib.formatter.formatter_HTMLFile, *************** *** 702,708 **** ): actual_test_suite.addTest(test_loader.loadTestsFromTestCase(c)) ! # ! # Check tests related to bug reports ! # bug_ids = map(lambda x:x[18:-3], glob(os.path.join('TestCases', 'test_bug*.py'))) bug_ids.sort() --- 706,715 ---- ): actual_test_suite.addTest(test_loader.loadTestsFromTestCase(c)) ! ! ! # ! # Check tests related to bug reports ! # ! if get_all_tests or get_bug_tests: bug_ids = map(lambda x:x[18:-3], glob(os.path.join('TestCases', 'test_bug*.py'))) bug_ids.sort() |