2052.3.1
by John Arbash Meinel
Add tests to cleanup the copyright of all source files |
1 |
# Copyright (C) 2005 Canonical Ltd
|
1887.1.1
by Adeodato Simó
Do not separate paragraphs in the copyright statement with blank lines, |
2 |
#
|
1530.2.1
by Robert Collins
Start tests for api usage. |
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.
|
|
1887.1.1
by Adeodato Simó
Do not separate paragraphs in the copyright statement with blank lines, |
7 |
#
|
1530.2.1
by Robert Collins
Start tests for api usage. |
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.
|
|
1887.1.1
by Adeodato Simó
Do not separate paragraphs in the copyright statement with blank lines, |
12 |
#
|
1530.2.1
by Robert Collins
Start tests for api usage. |
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
|
|
4183.7.1
by Sabin Iacob
update FSF mailing address |
15 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
1530.2.1
by Robert Collins
Start tests for api usage. |
16 |
|
17 |
"""Documentation for bzrlib.
|
|
18 |
||
19 |
See bzrlib.doc.api for api documentation and in the future bzrlib.doc.man
|
|
20 |
for man page generation.
|
|
21 |
"""
|
|
22 |
||
3302.9.5
by Vincent Ladeuil
bzrlib.doc switch from test_suite() to load_tests(). |
23 |
|
24 |
def load_tests(basic_tests, module, loader): |
|
25 |
suite = loader.suiteClass() |
|
26 |
# add the tests for this module (obviously none so far)
|
|
27 |
suite.addTests(basic_tests) |
|
28 |
||
29 |
testmod_names = [ |
|
30 |
'bzrlib.doc.api', |
|
31 |
]
|
|
32 |
||
3302.9.27
by Vincent Ladeuil
Fixed as per Ian's review. |
33 |
# add the tests for the sub modules
|
3302.9.5
by Vincent Ladeuil
bzrlib.doc switch from test_suite() to load_tests(). |
34 |
suite.addTests(loader.loadTestsFromModuleNames(testmod_names)) |
35 |
||
36 |
return suite |