From e5203f74000dc083d3e4024725a0e50656bf776b Mon Sep 17 00:00:00 2001 From: jwansek Date: Wed, 16 Feb 2022 15:45:37 +0000 Subject: fixed bug when client classes weren't present --- pytest_template.jinja2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'pytest_template.jinja2') 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 -- cgit v1.2.3