From fe235df686a777fb95b81466cd03a027b7149b16 Mon Sep 17 00:00:00 2001 From: lars Date: Thu, 17 Jul 2008 20:08:27 +0000 Subject: [PATCH] remove unittest failures for non-existing tests --- plugins/plugin_template/unittests.py | 31 ++++++++++++++++++++++++++++ plugins/volume_check_fs/unittests.py | 31 ++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 plugins/plugin_template/unittests.py create mode 100644 plugins/volume_check_fs/unittests.py diff --git a/plugins/plugin_template/unittests.py b/plugins/plugin_template/unittests.py new file mode 100644 index 0000000..a8f00ac --- /dev/null +++ b/plugins/plugin_template/unittests.py @@ -0,0 +1,31 @@ +# +# Copyright 2008 sense.lab e.V. +# +# This file is part of the CryptoBox. +# +# The CryptoBox is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# The CryptoBox 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with the CryptoBox; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +__revision__ = "$Id$" + +from cryptobox.tests.base import WebInterfaceTestClass +from twill.errors import * + +class unittests(WebInterfaceTestClass): + + def test_example(self): + """just a template for tests""" + self.assertTrue(True) + diff --git a/plugins/volume_check_fs/unittests.py b/plugins/volume_check_fs/unittests.py new file mode 100644 index 0000000..a8f00ac --- /dev/null +++ b/plugins/volume_check_fs/unittests.py @@ -0,0 +1,31 @@ +# +# Copyright 2008 sense.lab e.V. +# +# This file is part of the CryptoBox. +# +# The CryptoBox is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# The CryptoBox 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 General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with the CryptoBox; if not, write to the Free Software +# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +# + +__revision__ = "$Id$" + +from cryptobox.tests.base import WebInterfaceTestClass +from twill.errors import * + +class unittests(WebInterfaceTestClass): + + def test_example(self): + """just a template for tests""" + self.assertTrue(True) +