comparison test/__init__.py @ 530:074bac7fc308

had commented out some tests
author Richard Jones <richard@users.sourceforge.net>
date Mon, 14 Jan 2002 06:53:28 +0000
parents dce4c75bef5a
children 13df980755fa
comparison
equal deleted inserted replaced
529:1401596be460 530:074bac7fc308
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.11 2002-01-14 02:20:15 richard Exp $ 18 # $Id: __init__.py,v 1.12 2002-01-14 06:53:28 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 25 import test_init, test_token, test_mailgw
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 )) 37 ))
38 runner = unittest.TextTestRunner() 38 runner = unittest.TextTestRunner()
39 result = runner.run(suite) 39 result = runner.run(suite)
40 return result.wasSuccessful() 40 return result.wasSuccessful()
41 41
42 # 42 #
43 # $Log: not supported by cvs2svn $ 43 # $Log: not supported by cvs2svn $
44 # Revision 1.11 2002/01/14 02:20:15 richard
45 # . changed all config accesses so they access either the instance or the
46 # config attriubute on the db. This means that all config is obtained from
47 # instance_config instead of the mish-mash of classes. This will make
48 # switching to a ConfigParser setup easier too, I hope.
49 #
50 # At a minimum, this makes migration a _little_ easier (a lot easier in the
51 # 0.5.0 switch, I hope!)
52 #
44 # Revision 1.10 2002/01/05 02:09:46 richard 53 # Revision 1.10 2002/01/05 02:09:46 richard
45 # make setup abort if tests fail 54 # make setup abort if tests fail
46 # 55 #
47 # Revision 1.9 2002/01/02 02:31:38 richard 56 # Revision 1.9 2002/01/02 02:31:38 richard
48 # Sorry for the huge checkin message - I was only intending to implement #496356 57 # Sorry for the huge checkin message - I was only intending to implement #496356

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