Mercurial > hgsubversion
diff tests/test_single_dir_clone.py @ 577:930bb6df19a0
tests: make sure single dir clone tests get run by non-nose users
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 26 Feb 2010 14:52:50 +0100 |
parents | cf4fe45bf8fd |
children | d2ef7220a079 |
line wrap: on
line diff
--- a/tests/test_single_dir_clone.py +++ b/tests/test_single_dir_clone.py @@ -1,5 +1,6 @@ import errno import shutil +import unittest from mercurial import commands from mercurial import context @@ -180,3 +181,7 @@ class TestSingleDir(test_util.TestBase): self.pushrevisions() self.assertTrue('default' in self.svnls('')) self.assertEquals(len(self.repo.branchheads('default')), 1) + +def suite(): + all = [unittest.TestLoader().loadTestsFromTestCase(TestSingleDir)] + return unittest.TestSuite(all)