'compare all of the fields of the before and after dicts'

def compare_details_with_encoding(self, encoded, details, context):

    self.compare_date_fields(details, encoded, context, 'start_date')
    self.compare_date_fields(details, encoded, context, 'end_date')
    self.compare_date_fields(details, encoded, context, 'enrollment_start')
    self.compare_date_fields(details, encoded, context, 'enrollment_end')
    self.assertEqual(details['short_description'], encoded['short_description'], (context + '    short_description    not    =='))
    self.assertEqual(details['overview'], encoded['overview'], (context + '    overviews    not    =='))
    self.assertEqual(details['intro_video'], encoded.get('intro_video', None), (context + '    intro_video    not    =='))
    self.assertEqual(details['effort'], encoded['effort'], (context + '    efforts    not    =='))
    self.assertEqual(details['course_image_name'], encoded['course_image_name'], (context + '    images    not    =='))
    self.assertEqual(details['language'], encoded['language'], (context + '    languages    not    =='))
