comparison test/__init__.py @ 564:6f45494f84af

oops
author Richard Jones <richard@users.sourceforge.net>
date Tue, 22 Jan 2002 00:12:20 +0000
parents 0f58d6a35a8b
children d77b82588bf0
comparison
equal deleted inserted replaced
563:0f58d6a35a8b 564:6f45494f84af
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.14 2002-01-22 00:12:06 richard Exp $ 18 # $Id: __init__.py,v 1.15 2002-01-22 00:12:20 richard Exp $
19 19
20 import unittest 20 import unittest
21 import os, tempfile 21 import os, tempfile
22 os.environ['SENDMAILDEBUG'] = tempfile.mktemp() 22 os.environ['SENDMAILDEBUG'] = tempfile.mktemp()
23 23
24 import test_dates, test_schema, test_db, test_multipart, test_mailsplit 24 import test_dates, test_schema, test_db, test_multipart, test_mailsplit
25 import test_init, test_token, test_mailgw, test_htmltemplate 25 import test_init, test_token, test_mailgw, test_htmltemplate
26 26
27 def go(): 27 def go():
28 suite = unittest.TestSuite(( 28 suite = unittest.TestSuite((
29 # test_dates.suite(), 29 test_dates.suite(),
30 # test_schema.suite(), 30 test_schema.suite(),
31 # test_db.suite(), 31 test_db.suite(),
32 # test_init.suite(), 32 test_init.suite(),
33 # test_multipart.suite(), 33 test_multipart.suite(),
34 # test_mailsplit.suite(), 34 test_mailsplit.suite(),
35 # test_mailgw.suite(), 35 test_mailgw.suite(),
36 # test_token.suite(), 36 test_token.suite(),
37 test_htmltemplate.suite(), 37 test_htmltemplate.suite(),
38 )) 38 ))
39 runner = unittest.TextTestRunner() 39 runner = unittest.TextTestRunner()
40 result = runner.run(suite) 40 result = runner.run(suite)
41 return result.wasSuccessful() 41 return result.wasSuccessful()
42 42
43 # 43 #
44 # $Log: not supported by cvs2svn $ 44 # $Log: not supported by cvs2svn $
45 # 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
47 # off the implementation of some of the functions so they behave sanely.
48 #
45 # Revision 1.13 2002/01/21 11:05:48 richard 49 # Revision 1.13 2002/01/21 11:05:48 richard
46 # New tests for htmltemplate (well, it's a beginning) 50 # New tests for htmltemplate (well, it's a beginning)
47 # 51 #
48 # Revision 1.12 2002/01/14 06:53:28 richard 52 # Revision 1.12 2002/01/14 06:53:28 richard
49 # had commented out some tests 53 # had commented out some tests

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