diff --git a/file_templates/testing/python_pyunit/class.py b/file_templates/testing/python_pyunit/class.py index 3b13695caf..5ecca25648 100644 --- a/file_templates/testing/python_pyunit/class.py +++ b/file_templates/testing/python_pyunit/class.py @@ -1,35 +1,35 @@ {% load kdev_filters %} {% block license_header %} {% if license %} # {{ license|lines_prepend:"# " }} # {% endif %} {% endblock license_header %} import unittest class {{ name }}(unittest.TestCase): def setUp(self): - # Called before the first testfunction is executed + # Called prior to each test method pass def tearDown(self): - # Called after the last testfunction was executed + # Called after each test method pass {% for case in testCases %} def test_{{ case }}(self): pass {% endfor %} if __name__ == "__main__": unittest.main() \ No newline at end of file