r19301 on session request notificaiton email was faulty (buffers reverted between test and commit). This corrects it. Commit ready for merge.

- Legacy-Id: 19304
This commit is contained in:
Robert Sparks 2021-08-26 22:42:37 +00:00
parent 5f465caa18
commit 05390ebb7a
2 changed files with 5 additions and 3 deletions

View file

@ -451,7 +451,7 @@ class SubmitRequestCase(TestCase):
self.assertTrue("Can't meet: Thursday early afternoon, Thursday late" in notification_payload)
self.assertTrue('Second session joint with: {}'.format(group3.acronym) in notification_payload)
self.assertTrue(ad.ascii_name() in notification_payload)
self.assertIn(ConstraintName.objects.get(slug='chair_confict').name, notification_payload)
self.assertIn(ConstraintName.objects.get(slug='chair_conflict').name, notification_payload)
self.assertIn(group.acronym, notification_payload)
class LockAppTestCase(TestCase):

View file

@ -9,8 +9,10 @@ Number of Sessions: {{ session.num_session }}
Length of Session(s): {{ session.length_session1|display_duration }}{% if session.length_session2 %}, {{ session.length_session2|display_duration }}{% endif %}{% if session.length_session3 %}, {{ session.length_session3|display_duration }}{% endif %}
Number of Attendees: {{ session.attendees }}
Conflicts to Avoid:
{% for line in session.outbound_conflicts %}{{line}}
{% endfor %}
{% for line in session.outbound_conflicts %} {{line}}
{% endfor %}{% if session.session_time_relation_display %} {{ session.session_time_relation_display }}{% endif %}
{% if session.adjacent_with_wg %} Adjacent with WG: {{ session.adjacent_with_wg }}{% endif %}
{% if session.timeranges_display %} Can't meet: {{ session.timeranges_display|join:", " }}{% endif %}
People who must be present:
{% for person in session.bethere %} {{ person.ascii_name }}