/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
1
# Copyright (C) 2008 by 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
7143.15.2 by Jelmer Vernooij
Run autopep8.
17
6645.2.1 by Jelmer Vernooij
Bundle the upload plugin.
18
def load_tests(loader, basic_tests, pattern):
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
19
    # This module shouldn't define any tests but I don't know how to report
20
    # that. I prefer to update basic_tests with the other tests to detect
21
    # unwanted tests and I think that's sufficient.
22
23
    testmod_names = [
0.155.3 by James Westby
Add some tests for the hook, rename the option to "upload_auto"
24
        'test_auto_upload_hook',
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
25
        'test_upload',
26
        ]
27
    basic_tests.addTest(loader.loadTestsFromModuleNames(
7143.15.2 by Jelmer Vernooij
Run autopep8.
28
        ["%s.%s" % (__name__, tmn) for tmn in testmod_names]))
0.154.1 by Vincent Ladeuil
Create a simple setup.py and rework tests modules accordingly.
29
    return basic_tests