/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
2485.8.3 by v.ladeuil+lp at free
Change the file naming to clearly separate the command behavior
1
# Copyright (C) 2007 Canonical Ltd
2
#
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.
7
#
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.
12
#
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., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
16
17
18
"""Commands behaviour tests for bzr.
19
2485.8.57 by Vincent Ladeuil
Cosmetic changes.
20
This tests the behaviour of the commands.
2485.8.3 by v.ladeuil+lp at free
Change the file naming to clearly separate the command behavior
21
The API is tested in the tests/blackbox files.
22
"""
23
2485.8.57 by Vincent Ladeuil
Cosmetic changes.
24
from bzrlib.tests import TestLoader
2485.8.3 by v.ladeuil+lp at free
Change the file naming to clearly separate the command behavior
25
26
27
def test_suite():
28
    testmod_names = [
2485.8.4 by v.ladeuil+lp at free
Add tests for branch command.
29
        'bzrlib.tests.commands.test_branch',
2485.8.10 by Vincent Ladeuil
Add test for cat and missing.
30
        'bzrlib.tests.commands.test_cat',
2485.8.8 by Vincent Ladeuil
Add test for checkout.
31
        'bzrlib.tests.commands.test_checkout',
2485.8.3 by v.ladeuil+lp at free
Change the file naming to clearly separate the command behavior
32
        'bzrlib.tests.commands.test_init',
2485.8.9 by Vincent Ladeuil
Add test for init-repository and merge.
33
        'bzrlib.tests.commands.test_init_repository',
34
        'bzrlib.tests.commands.test_merge',
2485.8.10 by Vincent Ladeuil
Add test for cat and missing.
35
        'bzrlib.tests.commands.test_missing',
2485.8.7 by Vincent Ladeuil
Add test for pull.
36
        'bzrlib.tests.commands.test_pull',
2485.8.6 by Vincent Ladeuil
Fix the 'FtpServer' so that it can handle full bzr commands.
37
        'bzrlib.tests.commands.test_push',
2806.2.1 by Vincent Ladeuil
Reproduce #131396 and #128076 in the test suite.
38
        'bzrlib.tests.commands.test_update',
2485.8.3 by v.ladeuil+lp at free
Change the file naming to clearly separate the command behavior
39
        ]
40
    loader = TestLoader()
41
    suite = loader.loadTestsFromModuleNames(testmod_names)
42
43
    return suite