'Verifies that due date can be overriden at child level.'

def override_metadata_check(self, descriptor, child, course_due, child_due):

    self.assertEqual(descriptor.due, ImportTestCase.date.from_json(course_due))
    self.assertEqual(child.due, ImportTestCase.date.from_json(child_due))
    self.assertEqual(ImportTestCase.date.to_json(ImportTestCase.date.from_json(course_due)), child.xblock_kvs.inherited_settings['due'])
