'Verify the view supports updating a course.'

@flaky
def test_update(self):

    self.assertIsNone(VerificationDeadline.deadline_for_course(self.course.id))
    verification_deadline = datetime(year=2020, month=12, day=31, tzinfo=pytz.utc)
    expiration_datetime = datetime.now(pytz.utc)
    (response, expected) = self._get_update_response_and_expected_data(expiration_datetime, verification_deadline)
    self.assertEqual(response.status_code, 200)
    actual = json.loads(response.content)
    self.assertEqual(actual, expected)
    self.assertEqual(VerificationDeadline.deadline_for_course(self.course.id), verification_deadline)
