Mercurial > p > roundup > code
comparison test/test_schema.py @ 1096:fa7df238e2d4
More cleaning up of configuration, and the "instance" -> "tracker" renaming.
| author | Richard Jones <richard@users.sourceforge.net> |
|---|---|
| date | Tue, 10 Sep 2002 03:01:20 +0000 |
| parents | 9b910e8d987d |
| children | d77b86cc541b |
comparison
equal
deleted
inserted
replaced
| 1095:711f2ecee20f | 1096:fa7df238e2d4 |
|---|---|
| 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: test_schema.py,v 1.9 2002-09-10 00:19:55 richard Exp $ | 18 # $Id: test_schema.py,v 1.10 2002-09-10 03:01:20 richard Exp $ |
| 19 | 19 |
| 20 import unittest, os, shutil | 20 import unittest, os, shutil |
| 21 | 21 |
| 22 from roundup.backends import back_anydbm | 22 from roundup.backends import back_anydbm |
| 23 from roundup.hyperdb import String, Password, Link, Multilink, Date, \ | 23 from roundup.hyperdb import String, Password, Link, Multilink, Date, \ |
| 25 | 25 |
| 26 class config: | 26 class config: |
| 27 DATABASE='_test_dir' | 27 DATABASE='_test_dir' |
| 28 MAILHOST = 'localhost' | 28 MAILHOST = 'localhost' |
| 29 MAIL_DOMAIN = 'fill.me.in.' | 29 MAIL_DOMAIN = 'fill.me.in.' |
| 30 INSTANCE_NAME = 'Roundup issue tracker' | 30 NSTANCE_NAME = 'Roundup issue tracker' |
| 31 ISSUE_TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN | 31 TRACKER_EMAIL = 'issue_tracker@%s'%MAIL_DOMAIN |
| 32 ISSUE_TRACKER_WEB = 'http://some.useful.url/' | 32 TRACKER_WEB = 'http://some.useful.url/' |
| 33 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN | 33 ADMIN_EMAIL = 'roundup-admin@%s'%MAIL_DOMAIN |
| 34 FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom' | 34 FILTER_POSITION = 'bottom' # one of 'top', 'bottom', 'top and bottom' |
| 35 ANONYMOUS_ACCESS = 'deny' # either 'deny' or 'allow' | 35 ANONYMOUS_ACCESS = 'deny' # either 'deny' or 'allow' |
| 36 ANONYMOUS_REGISTER = 'deny' # either 'deny' or 'allow' | 36 ANONYMOUS_REGISTER = 'deny' # either 'deny' or 'allow' |
| 37 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' | 37 MESSAGES_TO_AUTHOR = 'no' # either 'yes' or 'no' |
