view tests/runtests.py @ 724:fbe43f9574f1 SOC2006-START

removed tag SOC2006-START
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sat, 27 May 2006 14:07:25 +0200
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()