comparison test/db_test_base.py @ 3155:57b60bda9473

Python 2.3 minimum version - bye bye roundup.rlog, you had a short life.
author Richard Jones <richard@users.sourceforge.net>
date Mon, 14 Feb 2005 02:48:12 +0000
parents dbf80d7db63f
children e629e0057136
comparison
equal deleted inserted replaced
3153:fdcba2ef2673 3155:57b60bda9473
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: db_test_base.py,v 1.59 2005-02-13 22:38:57 richard Exp $ 18 # $Id: db_test_base.py,v 1.60 2005-02-14 02:48:12 richard Exp $
19 19
20 import unittest, os, shutil, errno, imp, sys, time, pprint 20 import unittest, os, shutil, errno, imp, sys, time, pprint
21 21
22 from roundup.hyperdb import String, Password, Link, Multilink, Date, \ 22 from roundup.hyperdb import String, Password, Link, Multilink, Date, \
23 Interval, DatabaseError, Boolean, Number, Node 23 Interval, DatabaseError, Boolean, Number, Node
36 config.MAIL_DOMAIN = "your.tracker.email.domain.example" 36 config.MAIL_DOMAIN = "your.tracker.email.domain.example"
37 config.TRACKER_WEB = "http://tracker.example/cgi-bin/roundup.cgi/bugs/" 37 config.TRACKER_WEB = "http://tracker.example/cgi-bin/roundup.cgi/bugs/"
38 # uncomment the following to have excessive debug output from test cases 38 # uncomment the following to have excessive debug output from test cases
39 # FIXME: tracker logging level should be increased by -v arguments 39 # FIXME: tracker logging level should be increased by -v arguments
40 # to 'run_tests.py' script 40 # to 'run_tests.py' script
41 #config.LOGGING_LEVEL = "DEBUG" 41 config.LOGGING_FILENAME = "/tmp/logfile"
42 #config.init_logging() 42 config.LOGGING_LEVEL = "DEBUG"
43 config.init_logging()
43 44
44 def setupTracker(dirname, backend="anydbm"): 45 def setupTracker(dirname, backend="anydbm"):
45 """Install and initialize new tracker in dirname; return tracker instance. 46 """Install and initialize new tracker in dirname; return tracker instance.
46 47
47 If the directory exists, it is wiped out before the operation. 48 If the directory exists, it is wiped out before the operation.

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