Ejemplo n.º 1
0
 def test_talk_submission_open_in_context(self):
     context = current_event_contextprocessor(None)
     self.assertIn('talk_submission_open', context)
Ejemplo n.º 2
0
 def test_current_event_in_context(self):
     context = current_event_contextprocessor(None)
     self.assertIn('current_event', context)
Ejemplo n.º 3
0
 def test_attendee_registration_in_context(self):
     context = current_event_contextprocessor(None)
     self.assertIn('attendee_registration_open', context)
 def test_event_feedback_open_in_context(self):
     context = current_event_contextprocessor(None)
     self.assertIn("event_feedback_open", context)
 def test_sessions_published_in_context(self):
     context = current_event_contextprocessor(None)
     self.assertIn("sessions_published", context)
 def test_current_event_not_in_context(self):
     unpublish_all_events()
     context = current_event_contextprocessor(None)
     self.assertIsNone(context)