From 6089d4726c10256da100d5c3147cf0c051574e5b Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Thu, 11 May 2023 09:37:02 -0500 Subject: [PATCH] chore: remove debugging file write from test (#5598) --- ietf/meeting/tests_views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ietf/meeting/tests_views.py b/ietf/meeting/tests_views.py index 8ecec05740..449ad03a35 100644 --- a/ietf/meeting/tests_views.py +++ b/ietf/meeting/tests_views.py @@ -355,8 +355,7 @@ def test_meeting_agenda(self): # iCal, no session filtering ical_url = urlreverse("ietf.meeting.views.agenda_ical", kwargs=dict(num=meeting.number)) r = self.client.get(ical_url) - with open('./ical-output.ics', 'w') as f: - f.write(r.content.decode()) + assert_ical_response_is_valid(self, r) self.assertContains(r, "BEGIN:VTIMEZONE") self.assertContains(r, "END:VTIMEZONE")