'If feature flag is off, then edxnotes must not be updated.'

@patch.dict(settings.FEATURES, {'ENABLE_EDXNOTES': False})
def test_update_from_json_filtered_edxnotes_off(self):

    test_model = CourseMetadata.update_from_json(self.course, {'edxnotes': {'value': 'true'}}, user=self.user)
    self.assertNotIn('edxnotes', test_model)
