X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=run_tests;h=ee73ce7cee3b0b9b5df98d441323865785dce6ef;hb=a71f2c4589d3fea807be59b00862b57c00afa055;hp=0bfc161bc9ed11f3b6c6a2eb8fe1dd660719b288;hpb=ed92c7fc8fc8659143ec38219d6b5c87e0e53b30;p=roundup.git diff --git a/run_tests b/run_tests index 0bfc161..ee73ce7 100755 --- a/run_tests +++ b/run_tests @@ -9,13 +9,37 @@ # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. # -# $Id: run_tests,v 1.3 2002-01-23 20:09:41 jhermann Exp $ +# $Id: run_tests,v 1.7 2002-05-29 01:16:16 richard Exp $ -import test -test.go() +# make sure we have the htmlbase +try: + from roundup.templates.classic import htmlbase +except ImportError: + import setup + setup.buildTemplates() + +from test import go +import sys +if len(sys.argv) > 1: + go(sys.argv[1:]) +else: + go() # # $Log: not supported by cvs2svn $ +# Revision 1.6 2002/05/25 07:24:29 rochecompaan +# oops +# +# Revision 1.4 2002/02/14 23:38:12 richard +# Fixed the unit tests for the mailgw re: the x-roundup-name header. +# Also made the test runner more user-friendly: +# ./run_tests - detect all tests in test/test_.py and run them +# ./run_tests - run only test/test_.py +# eg ./run_tests mailgw - run the mailgw test from test/test_mailgw.py +# +# Revision 1.3 2002/01/23 20:09:41 jhermann +# Proper fix for failing test +# # Revision 1.2 2002/01/23 11:08:52 grubert # . run_tests testReldate_date failed if LANG is 'german' #