1
# Copyright (C) 2010,2011 Linaro Limited
3
# Author: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
5
# This file is part of lava-dashboard-tool.
7
# lava-dashboard-tool is free software: you can redistribute it and/or modify
8
# it under the terms of the GNU Lesser General Public License version 3
9
# as published by the Free Software Foundation
11
# lava-dashboard-tool is distributed in the hope that it will be useful,
12
# but WITHOUT ANY WARRANTY; without even the implied warranty of
13
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
# GNU General Public License for more details.
16
# You should have received a copy of the GNU Lesser General Public License
17
# along with lava-dashboard-tool. If not, see <http://www.gnu.org/licenses/>.
20
Package with unit tests for lava_dashboard_tool
29
'lava_dashboard_tool.commands',
35
'lava_dashboard_tool.tests.test_commands',
41
Build an unittest.TestSuite() object with all the tests in _modules.
42
Each module is harvested for both regular unittests and doctests
44
modules = app_modules() + test_modules()
45
suite = unittest.TestSuite()
46
loader = unittest.TestLoader()
48
unit_suite = loader.loadTestsFromName(name)
49
suite.addTests(unit_suite)
50
doc_suite = doctest.DocTestSuite(name)
51
suite.addTests(doc_suite)