diff options
Diffstat (limited to 'pytest_template.jinja2')
-rw-r--r-- | pytest_template.jinja2 | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/pytest_template.jinja2 b/pytest_template.jinja2 index 473b7b4..73c9a40 100644 --- a/pytest_template.jinja2 +++ b/pytest_template.jinja2 @@ -1,8 +1,8 @@ -{# generating python with python :3 #} - -import {{ module }} - -{% for i, test_code in enumerate(filestests, 1) %} -def test_{{ i }}(): - {{ test_code|indent(4, False) }} {# the code in the config file must be indented with 4 spaces only #} +{# generating python with python :3 #}
+
+import {{ module }}
+
+{% for i, test_code in enumerate(filestests, 1) %}
+def test_{{ i }}():
+ {{ test_code|indent(4, False) }} {# the code in the config file must be indented with 4 spaces only #}
{% endfor %}
\ No newline at end of file |