Commit 081aebe3 authored by Jérome Perrin's avatar Jérome Perrin

ComponentTool: update new test snippet

On recent pylint, this is flagged as unnecessary-pass

Also update the link that was pointing to python2 doc
parent 2c00a2ec
...@@ -234,7 +234,6 @@ class Test(ERP5TypeTestCase): ...@@ -234,7 +234,6 @@ class Test(ERP5TypeTestCase):
This is ran before anything, used to set the environment This is ran before anything, used to set the environment
""" """
# here, you can create the categories and objects your test will depend on # here, you can create the categories and objects your test will depend on
pass
def test_sampleTest(self): def test_sampleTest(self):
""" """
...@@ -243,7 +242,7 @@ class Test(ERP5TypeTestCase): ...@@ -243,7 +242,7 @@ class Test(ERP5TypeTestCase):
For the method to be called during the test, For the method to be called during the test,
its name must start with 'test'. its name must start with 'test'.
See https://docs.python.org/2/library/unittest.html for help with available See https://docs.python.org/library/unittest.html for help with available
assertion methods. assertion methods.
""" """
self.assertEqual(0, 1) self.assertEqual(0, 1)
......
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