view tests/runtests.py @ 336:c39981463fb2

fixed MoinMoinBugs/ErraticGetValMacroExpansion. Corrected REs for Dict and Group pages. Use spaces insted of \s because this matches newlines! imported from: moin--main--1.5--patch-340
author Florian Festi <Florian.Festi@trick.informatik.uni-stuttgart.de>
date Mon, 19 Dec 2005 12:49:11 +0000
parents a6082488e74e
children 767109c48208
line wrap: on
line source
# -*- coding: iso-8859-1 -*-
"""
MoinMoin - Run Unit tests

Usage:

    runtests [test_name...]

Without arguments run all the tests in the _tests package.

@copyright: 2002-2004 by Jürgen Hermann <jh@web.de>
@license: GNU GPL, see COPYING for details.
"""

import os, sys

moinpath = os.path.join(os.path.dirname(sys.argv[0]), os.pardir)
sys.path.insert(0, os.path.abspath(moinpath))

from MoinMoin import _tests

def run():   
    _tests.run(names=sys.argv[1:])


if __name__ == '__main__':
    run()