Remove debug prints

This commit is contained in:
Lars Eggert 2023-09-27 16:01:21 +03:00
parent 4f6caa89b2
commit a469f08d63
No known key found for this signature in database
GPG key ID: 54B5C309BF70C157

View file

@ -144,7 +144,6 @@ class SessionRequestTestCase(TestCase):
r = self.client.post(url, post_data, HTTP_HOST='example.com')
redirect_url = reverse('ietf.secr.sreq.views.view', kwargs={'acronym': 'mars'})
self.assertRedirects(r, redirect_url)
print(1, post_data)
# Check whether updates were stored in the database
sessions = Session.objects.filter(meeting=meeting, group=mars).order_by("id") # order to match edit() view
@ -163,7 +162,6 @@ class SessionRequestTestCase(TestCase):
# Check whether the updated data is visible on the view page
r = self.client.get(redirect_url)
print(2, r.content)
self.assertContains(r, 'Schedule the sessions on subsequent days')
self.assertContains(r, 'Thursday early afternoon, Thursday late afternoon')
self.assertContains(r, group2.acronym)