X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=test%2F__init__.py;h=5273971e40a6667ea5b577ed78442c5f73dd9e67;hb=47cde0d6fb759784f9f122430c35727f752a727d;hp=749ba6777c10323966c23165d9e22aaf38406b1a;hpb=9d5fc0aa9325514d396efc92d52dab31bb373ad1;p=roundup.git diff --git a/test/__init__.py b/test/__init__.py index 749ba67..5273971 100644 --- a/test/__init__.py +++ b/test/__init__.py @@ -15,10 +15,11 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: __init__.py,v 1.16 2002-02-14 23:38:12 richard Exp $ +# $Id: __init__.py,v 1.18 2002-09-10 00:19:54 richard Exp $ import os, tempfile, unittest, shutil -os.environ['SENDMAILDEBUG'] = tempfile.mktemp() +import roundup.roundupdb +roundup.roundupdb.SENDMAILDEBUG=os.environ['SENDMAILDEBUG']=tempfile.mktemp() # figure all the modules available dir = os.path.split(__file__)[0] @@ -37,77 +38,4 @@ def go(tests=all_tests): runner = unittest.TextTestRunner() runner.run(suite) -# -# $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. -# -# Revision 1.7 2001/08/07 00:24:43 richard -# stupid typo -# -# Revision 1.6 2001/08/07 00:15:51 richard -# Added the copyright/license notice to (nearly) all files at request of -# Bizar Software. -# -# Revision 1.5 2001/08/05 07:45:27 richard -# Added tests for instance initialisation -# -# Revision 1.4 2001/08/03 07:18:22 richard -# Implemented correct mail splitting (was taking a shortcut). Added unit -# tests. Also snips signatures now too. -# -# Revision 1.3 2001/07/29 07:01:39 richard -# Added vim command to all source so that we don't get no steenkin' tabs :) -# -# Revision 1.2 2001/07/28 06:43:02 richard -# Multipart message class has the getPart method now. Added some tests for it. -# -# Revision 1.1 2001/07/27 06:55:07 richard -# moving tests -> test -# -# Revision 1.3 2001/07/25 04:34:31 richard -# Added id and log to tests files... -# -# # vim: set filetype=python ts=4 sw=4 et si