'Clear field data cache for xblocks under test. Normally this would be
done by virtue of the fact that xblocks are reloaded on subsequent
requests.'

def _clear_field_data_cache(self):

    for block in (self.week1, self.week2, self.week3, self.homework, self.assignment):
        block.fields['due']._del_cached_value(block)
