Commit ee0ad675 authored by Jérome Perrin's avatar Jérome Perrin

component: test template should not suggest numbering tests

Don't even tell people it's possible to force ordering of test, because
test ordering should not matter ... unless tests are written in a way
that they are not really independant, which is a bad practice.
No related merge requests found
......@@ -226,16 +226,15 @@ class Test(ERP5TypeTestCase):
# here, you can create the categories and objects your test will depend on
pass
def test_01_sampleTest(self):
def test_sampleTest(self):
"""
A Sample Test
For the method to be called during the test,
its name must start with 'test'.
The '_01_' part of the name is not mandatory,
it just allows you to define in which order the tests are to be launched.
Tests methods (self.assert... and self.failIf...)
are defined in /usr/lib/python/unittest.py.
See https://docs.python.org/2/library/unittest.html for help with available
assertion methods.
"""
self.assertEqual(0, 1)
''' % DEFAULT_TEST_TEMPLATE_COPYRIGHT
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment