test: Fix test_meetings_misc_session_edit (#5807)

This commit is contained in:
Jennifer Richards 2023-06-12 17:55:46 -03:00 committed by GitHub
parent 0ab06998cb
commit f5365b2229
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -392,6 +392,7 @@ class SecrMeetingTestCase(TestCase):
'remote_instructions': 'http://webex.com/foobar',
})
self.assertRedirects(response, redirect_url)
session = Session.objects.get(pk=session.pk) # get a clean instance to avoid cache problems
timeslot = session.official_timeslotassignment().timeslot
self.assertEqual(timeslot.time, new_time)