view tests/run.py @ 40:9952f03ddfbe

Add a test that proves files in the branches directory don't cause breakage.
author Augie Fackler <durin42@gmail.com>
date Sun, 26 Oct 2008 22:12:46 -0500
parents 1f8854804795
children e319c9168910
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
import test_tags

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

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