Fix bug with main secr/proceedings page and add test. Commit ready for merge.
- Legacy-Id: 11849
This commit is contained in:
parent
3e3255db7d
commit
f5fab30d63
|
@ -27,7 +27,11 @@ class ProceedingsTestCase(TestCase):
|
|||
self.client.login(username="secretary", password="secretary+password")
|
||||
response = self.client.get(url)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
# test chair access
|
||||
self.client.logout()
|
||||
self.client.login(username="marschairman", password="marschairman+password")
|
||||
response = self.client.get(url)
|
||||
self.assertEqual(response.status_code, 200)
|
||||
|
||||
class RecordingTestCase(TestCase):
|
||||
def test_page(self):
|
||||
|
|
|
@ -361,7 +361,7 @@ def main(request):
|
|||
meetings = Meeting.objects.filter(type='ietf').order_by('-number')
|
||||
else:
|
||||
# select meetings still within the cutoff period
|
||||
today = datetime.datetime.today()
|
||||
today = datetime.date.today()
|
||||
meetings = [m for m in Meeting.objects.filter(type='ietf').order_by('-number') if m.get_submission_correction_date()>=today]
|
||||
|
||||
groups = get_my_groups(request.user)
|
||||
|
|
Loading…
Reference in a new issue