Mercurial > p > roundup > code
diff test/__init__.py @ 602:c242455d9b46 config-0-4-0-branch
Brought the config branch up to date with HEAD
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Wed, 06 Feb 2002 04:05:55 +0000 |
| parents | a1a44636bace |
| children | 13719594278b |
line wrap: on
line diff
--- a/test/__init__.py Wed Feb 06 03:47:17 2002 +0000 +++ b/test/__init__.py Wed Feb 06 04:05:55 2002 +0000 @@ -15,14 +15,14 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: __init__.py,v 1.9 2002-01-02 02:31:38 richard Exp $ +# $Id: __init__.py,v 1.9.2.1 2002-02-06 04:05:55 richard Exp $ import unittest import os, tempfile os.environ['SENDMAILDEBUG'] = tempfile.mktemp() import test_dates, test_schema, test_db, test_multipart, test_mailsplit -import test_init, test_token, test_mailgw +import test_init, test_token, test_mailgw, test_htmltemplate def go(): suite = unittest.TestSuite(( @@ -34,12 +34,54 @@ test_mailsplit.suite(), test_mailgw.suite(), test_token.suite(), + test_htmltemplate.suite(), )) runner = unittest.TextTestRunner() - runner.run(suite) + result = runner.run(suite) + return result.wasSuccessful() # # $Log: not supported by cvs2svn $ +# Revision 1.15 2002/01/22 00:12:20 richard +# oops +# +# Revision 1.14 2002/01/22 00:12:06 richard +# Wrote more unit tests for htmltemplate, and while I was at it, I polished +# off the implementation of some of the functions so they behave sanely. +# +# Revision 1.13 2002/01/21 11:05:48 richard +# New tests for htmltemplate (well, it's a beginning) +# +# Revision 1.12 2002/01/14 06:53:28 richard +# had commented out some tests +# +# Revision 1.11 2002/01/14 02:20:15 richard +# . changed all config accesses so they access either the instance or the +# config attriubute on the db. This means that all config is obtained from +# instance_config instead of the mish-mash of classes. This will make +# switching to a ConfigParser setup easier too, I hope. +# +# At a minimum, this makes migration a _little_ easier (a lot easier in the +# 0.5.0 switch, I hope!) +# +# Revision 1.10 2002/01/05 02:09:46 richard +# make setup abort if tests fail +# +# Revision 1.9 2002/01/02 02:31:38 richard +# Sorry for the huge checkin message - I was only intending to implement #496356 +# but I found a number of places where things had been broken by transactions: +# . modified ROUNDUPDBSENDMAILDEBUG to be SENDMAILDEBUG and hold a filename +# for _all_ roundup-generated smtp messages to be sent to. +# . the transaction cache had broken the roundupdb.Class set() reactors +# . newly-created author users in the mailgw weren't being committed to the db +# +# Stuff that made it into CHANGES.txt (ie. the stuff I was actually working +# on when I found that stuff :): +# . #496356 ] Use threading in messages +# . detectors were being registered multiple times +# . added tests for mailgw +# . much better attaching of erroneous messages in the mail gateway +# # Revision 1.8 2001/12/31 05:09:20 richard # Added better tokenising to roundup-admin - handles spaces and stuff. Can # use quoting or backslashes. See the roundup.token pydoc.
