view tests/runtests.py @ 1614:f89eb93324e2

mailimport: generate header above mail content in any case
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Mon, 09 Oct 2006 17:41:13 +0200
parents 767109c48208
children 6dd2e29acffe
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

from MoinMoin import _tests

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


if __name__ == '__main__':
    run()