=== Notifications for {{test_list_instance.test_list.name}} ===
Test List : {{test_list_instance.test_list.name}}Date : {{test_list_instance.work_completed }}
{% if failing_tests %}Failing Tests============={% for test_instance in failing_tests %} Test : {{test_instance.unit_test_info.test.name}} Value : {{test_instance.value_display}} Ref. : {{test_instance.reference}} Tol. : {{test_instance.tolerance}}
Review: http://yourservername/qa/session/review/{{test_instance.test_list_instance.pk}}{% endfor %}{% endif %}
{% if tolerance_tests %}Tests at Tolerance=================={% for test_instance in tolerance_tests %} Test : {{test_instance.unit_test_info.test.name}} Value : {{test_instance.value_display}} Ref. : {{test_instance.reference}} Tol. : {{test_instance.tolerance}}{% endfor %}{% endif %}
Review: session/review/{{test_list_instance.pk}}
--
You received this message because you are subscribed to the Google Groups "QATrack+" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
To post to this group, send email to qat...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+u...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
{{test_list_instance.test_list.name}}
It would be very handy to grab the testlist instance like this. How are you accessing it here?
For example:
http://servername/qa/session/review/1543/
Is that possible?
=== Notifications for {{test_list_instance.test_list.name}} ===
Test List : {{test_list_instance.test_list.name}}Date : {{test_list_instance.work_completed }}
=== Notifications for Monthly Mechanicals ===
Test List : Monthly Mechanicals
Unit : Unit 10
Date : 2017-12-8 9:00
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.
from qatrack.qa.models import TestListInstance
try:
# should only exist during editing
test_list_instance = TestListInstance.objects.filter(
unit_test_collection__unit__number=META["unit_number"],
test_list__name=META['test_list_name'],
work_started=META['work_started'],
)
# do something with tes
except TestListInstance.DoesNotExist:
To unsubscribe from this group and stop receiving emails from it, send an email to qatrack+unsubscribe@googlegroups.com.