view tests/run.py @ 78:072010a271c6

Fix basic issues with tests on Windows - shutil.rmtree() fails if there are any read-only files (svn store) - Fix files:// URLs - os.spawnvp()/Popen4() do not exist under Windows, use subprocess
author Patrick Mezard <pmezard@gmail.com>
date Sun, 09 Nov 2008 18:08:35 -0600
parents e319c9168910
children 6c9b7cf1c5aa
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_fetch_renames
import test_push_command
import test_tags

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

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