comparison test/__init__.py @ 753:938edfdeac6e

Sorry about this huge checkin! It's fixing a lot of related stuff in one go though. . [SF#541941] changing multilink properties by mail . [SF#526730] search for messages capability . [SF#505180] split MailGW.handle_Message - also changed cgi client since it was duplicating the functionality . build htmlbase if tests are run using CVS checkout (removed note from installation.txt) . don't create an empty message on email issue creation if the email is empty
author Richard Jones <richard@users.sourceforge.net>
date Wed, 29 May 2002 01:16:17 +0000
parents d77b82588bf0
children 9b910e8d987d
comparison
equal deleted inserted replaced
752:a721f4e7ebbc 753:938edfdeac6e
13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 13 # BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS" 14 # FOR A PARTICULAR PURPOSE. THE CODE PROVIDED HEREUNDER IS ON AN "AS IS"
15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, 15 # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE,
16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 16 # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
17 # 17 #
18 # $Id: __init__.py,v 1.16 2002-02-14 23:38:12 richard Exp $ 18 # $Id: __init__.py,v 1.17 2002-05-29 01:16:17 richard Exp $
19 19
20 import os, tempfile, unittest, shutil 20 import os, tempfile, unittest, shutil
21 os.environ['SENDMAILDEBUG'] = tempfile.mktemp() 21 import roundup.roundupdb
22 roundup.roundupdb.SENDMAILDEBUG=os.environ['SENDMAILDEBUG']=tempfile.mktemp()
22 23
23 # figure all the modules available 24 # figure all the modules available
24 dir = os.path.split(__file__)[0] 25 dir = os.path.split(__file__)[0]
25 test_mods = {} 26 test_mods = {}
26 for file in os.listdir(dir): 27 for file in os.listdir(dir):
37 runner = unittest.TextTestRunner() 38 runner = unittest.TextTestRunner()
38 runner.run(suite) 39 runner.run(suite)
39 40
40 # 41 #
41 # $Log: not supported by cvs2svn $ 42 # $Log: not supported by cvs2svn $
43 # Revision 1.16 2002/02/14 23:38:12 richard
44 # Fixed the unit tests for the mailgw re: the x-roundup-name header.
45 # Also made the test runner more user-friendly:
46 # ./run_tests - detect all tests in test/test_<name>.py and run them
47 # ./run_tests <name> - run only test/test_<name>.py
48 # eg ./run_tests mailgw - run the mailgw test from test/test_mailgw.py
49 #
42 # Revision 1.15 2002/01/22 00:12:20 richard 50 # Revision 1.15 2002/01/22 00:12:20 richard
43 # oops 51 # oops
44 # 52 #
45 # Revision 1.14 2002/01/22 00:12:06 richard 53 # Revision 1.14 2002/01/22 00:12:06 richard
46 # Wrote more unit tests for htmltemplate, and while I was at it, I polished 54 # Wrote more unit tests for htmltemplate, and while I was at it, I polished

Roundup Issue Tracker: http://roundup-tracker.org/