skeleton/test/test_CUBENAME.py
author Alexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 12 Feb 2010 12:55:49 +0100
branchstable
changeset 4554 2279ba039494
parent 4212 ab6573088b4a
child 5421 8167de96c523
permissions -rw-r--r--
use subprocess instead of os.popen to run diff this avoids argument quoting issues (spaces in path, etc)

"""template automatic tests

:organization: Logilab
:copyright: 2001-2010 LOGILAB S.A. (Paris, FRANCE), license is LGPL v2.
:contact: http://www.logilab.fr/ -- mailto:contact@logilab.fr
:license: GNU Lesser General Public License, v2.1 - http://www.gnu.org/licenses
"""

from logilab.common.testlib import TestCase, unittest_main

class DefaultTC(TestCase):
    def test_something(self):
        self.skip('this cube has no test')

## uncomment the import if you want to activate automatic test for your
## template

# from cubicweb.devtools.testlib import AutomaticWebTest


if __name__ == '__main__':
    unittest_main()