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 |
||
6379.6.7
by Jelmer Vernooij
Move importing from future until after doc string, otherwise the doc string will disappear. |
23 |
from __future__ import absolute_import |
24 |
||
3302.9.5
by Vincent Ladeuil
bzrlib.doc switch from test_suite() to load_tests(). |
25 |
|
26 |
def load_tests(basic_tests, module, loader): |
|
27 |
suite = loader.suiteClass() |
|
28 |
# add the tests for this module (obviously none so far)
|
|
29 |
suite.addTests(basic_tests) |
|
30 |
||
31 |
testmod_names = [ |
|
32 |
'bzrlib.doc.api', |
|
33 |
]
|
|
34 |
||
3302.9.27
by Vincent Ladeuil
Fixed as per Ian's review. |
35 |
# add the tests for the sub modules
|
3302.9.5
by Vincent Ladeuil
bzrlib.doc switch from test_suite() to load_tests(). |
36 |
suite.addTests(loader.loadTestsFromModuleNames(testmod_names)) |
37 |
||
38 |
return suite |