Am I allowed to exclude it this way from coverage testing?

This commit is contained in:
Oliver Falk
2018-05-25 11:57:01 +02:00
parent fe912e3ba1
commit 4a899cc28a

View File

@@ -23,8 +23,8 @@
{% if photo.service_url %} {% if photo.service_url %}
<a href="{{ photo.service_url }}">{{ photo.service_name }}</a> <a href="{{ photo.service_url }}">{{ photo.service_name }}</a>
{% else %} {# pragma: no cover #} {% else %} {# pragma: no cover #}
{{ photo.service_name }} {{ photo.service_name }} {# pragma: no cover #}
{% endif %} {% endif %} {# pragma: no cover #}
</li> </li>
{% endfor %} {% endfor %}
</ul> </ul>