view tests/run.py @ 21:8626f3d2e50b

Add a small stack of tests that exercise some of the interesting special cases.
author Augie Fackler <durin42@gmail.com>
date Wed, 08 Oct 2008 18:17:29 -0500
parents 31aa63ac778c
children 1f8854804795
line wrap: on
line source

import os
import sys
import unittest

sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))

import test_fetch_command
import test_fetch_command_regexes
import test_push_command

def suite():
    return unittest.TestSuite([test_fetch_command.suite(),
                               test_fetch_command_regexes.suite(),
                               test_push_command.suite(),
                              ])

if __name__ == '__main__':
    runner = unittest.TextTestRunner()
    runner.run(suite())