root/tags/0.4.1/tests/runner.py
| Revision 85, 1.1 kB (checked in by lgs, 4 years ago) |
|---|
| Line | |
|---|---|
| 1 | # Copyright (c) 2007-2008 by Lorenzo Gil Sanchez <lorenzo.gil.sanchez@gmail.com> |
| 2 | # |
| 3 | # This file is part of PyCha. |
| 4 | # |
| 5 | # PyCha is free software: you can redistribute it and/or modify |
| 6 | # it under the terms of the GNU Lesser General Public License as published by |
| 7 | # the Free Software Foundation, either version 3 of the License, or |
| 8 | # (at your option) any later version. |
| 9 | # |
| 10 | # PyCha is distributed in the hope that it will be useful, |
| 11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | # GNU Lesser General Public License for more details. |
| 14 | # |
| 15 | # You should have received a copy of the GNU Lesser General Public License |
| 16 | # along with PyCha. If not, see <http://www.gnu.org/licenses/>. |
| 17 | |
| 18 | import unittest |
| 19 | |
| 20 | import bar |
| 21 | import chart |
| 22 | import color |
| 23 | import line |
| 24 | import pie |
| 25 | |
| 26 | def test_suite(): |
| 27 | return unittest.TestSuite(( |
| 28 | bar.test_suite(), |
| 29 | chart.test_suite(), |
| 30 | color.test_suite(), |
| 31 | line.test_suite(), |
| 32 | pie.test_suite(), |
| 33 | )) |
| 34 | |
| 35 | if __name__ == '__main__': |
| 36 | unittest.main(defaultTest='test_suite') |
Note: See TracBrowser
for help on using the browser.
