1
# Copyright (C) 2007-2010 Canonical Ltd
3
# This program is free software; you can redistribute it and/or modify
4
# it under the terms of the GNU General Public License as published by
5
# the Free Software Foundation; either version 2 of the License, or
6
# (at your option) any later version.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18
"""Commands behaviour tests for bzr.
20
Test the internal behaviour of the commands (the blackbox tests are intended to
21
test the usage of the commands).
24
# FIXME: If the separation described above from the blackbox tests is not worth
25
# it, all the tests defined below should be moved to blackbox instead.
27
def load_tests(basic_tests, module, loader):
28
suite = loader.suiteClass()
29
# add the tests for this module
30
suite.addTests(basic_tests)
33
'bzrlib.tests.commands.test_branch',
34
'bzrlib.tests.commands.test_cat',
35
'bzrlib.tests.commands.test_checkout',
36
'bzrlib.tests.commands.test_commit',
37
'bzrlib.tests.commands.test_init',
38
'bzrlib.tests.commands.test_init_repository',
39
'bzrlib.tests.commands.test_merge',
40
'bzrlib.tests.commands.test_missing',
41
'bzrlib.tests.commands.test_pull',
42
'bzrlib.tests.commands.test_push',
43
'bzrlib.tests.commands.test_update',
44
'bzrlib.tests.commands.test_revert',
46
# add the tests for the sub modules
47
suite.addTests(loader.loadTestsFromModuleNames(testmod_names))