1 # __init__.py -- The tests for dulwich
2 # Copyright (C) 2007 James Westby <jw+debian@jameswestby.net>
4 # This program is free software; you can redistribute it and/or
5 # modify it under the terms of the GNU General Public License
6 # as published by the Free Software Foundation; version 2
7 # of the License or (at your option) any later version of
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program; if not, write to the Free Software
17 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
20 """Tests for Dulwich."""
24 # XXX: Ideally we should allow other test runners as well,
25 # but unfortunately unittest doesn't have a SkipTest/TestSkipped
27 from nose import SkipTest as TestSkipped
44 module_names = ['dulwich.tests.test_' + name for name in names]
45 result = unittest.TestSuite()
46 loader = unittest.TestLoader()
47 suite = loader.loadTestsFromNames(module_names)
48 result.addTests(suite)