'checks that updates were made'

def update_check(self, test_model):

    self.assertIn('display_name', test_model, 'Missing    editable    metadata    field')
    self.assertEqual(test_model['display_name']['value'], self.course.display_name)
    self.assertIn('advertised_start', test_model, 'Missing    new    advertised_start    metadata    field')
    self.assertEqual(test_model['advertised_start']['value'], 'start    A', 'advertised_start    not    expected    value')
    self.assertIn('days_early_for_beta', test_model, 'Missing    days_early_for_beta    metadata    field')
    self.assertEqual(test_model['days_early_for_beta']['value'], 2, 'days_early_for_beta    not    expected    value')
