diff options
author | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-18 22:24:51 (GMT) |
---|---|---|
committer | Marco Pesenti Gritti <mpg@redhat.com> | 2007-08-18 22:24:51 (GMT) |
commit | 7a641198433762c83a84e9464f103e33e38f8fa9 (patch) | |
tree | af536435306a997756a34fdbde26ee28ffc83ae5 /tests/sugar/runall.py | |
parent | 8403dd598769978c5f6e1583190356f41b1696d8 (diff) |
Start playing with unit tests.
Diffstat (limited to 'tests/sugar/runall.py')
-rw-r--r-- | tests/sugar/runall.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/tests/sugar/runall.py b/tests/sugar/runall.py new file mode 100644 index 0000000..ff672be --- /dev/null +++ b/tests/sugar/runall.py @@ -0,0 +1,28 @@ +# Copyright (C) 2007, Red Hat, Inc. +# +# This library is free software; you can redistribute it and/or +# modify it under the terms of the GNU Lesser General Public +# License as published by the Free Software Foundation; either +# version 2 of the License, or (at your option) any later version. +# +# This library is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +# Lesser General Public License for more details. +# +# You should have received a copy of the GNU Lesser General Public +# License along with this library; if not, write to the +# Free Software Foundation, Inc., 59 Temple Place - Suite 330, +# Boston, MA 02111-1307, USA. + +import unittest + +import test_date + +runner = unittest.TextTestRunner() +loader = unittest.TestLoader() + +suite = unittest.TestSuite() +suite.addTest(loader.loadTestsFromModule(test_date)) + +runner.run(suite) |