Fix multiple context files renter for environment model

Change-Id: Iabf2470a28e6ab7fd82f4b9a65495fd7b6dafaa9
diff --git a/tcp_tests/templates/shared-salt.yaml b/tcp_tests/templates/shared-salt.yaml
index 04df548..ce6793a 100644
--- a/tcp_tests/templates/shared-salt.yaml
+++ b/tcp_tests/templates/shared-salt.yaml
@@ -315,7 +315,7 @@
     ln -s '/tmp/environment/environment_template/{{ '{# roles #}' }}' '/tmp/environment/environment_template/{{ '{{ cookiecutter._env_name }}' }}/';
     reclass-tools render --template-dir /tmp/environment/environment_template/ \
                          --output-dir /srv/salt/reclass/classes/environment/ \
-                         {{ ' --context /tmp/environment/'.join(ENVIRONMENT_CONTEXT_NAMES) }} \
+                         {% for ENVIRONMENT_CONTEXT_NAME in ENVIRONMENT_CONTEXT_NAMES %}' --context /tmp/environment/'{{ENVIRONMENT_CONTEXT_NAME}}{% endfor %} \
                          --env-name {{ ENVIRONMENT_MODEL_INVENTORY_NAME }}
   node_name: {{ HOSTNAME_CFG01 }}
   retry: {count: 1, delay: 5}