'If feature flag is off, then giturl must be filtered.'

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

    (is_valid, errors, test_model) = CourseMetadata.validate_and_update_from_json(self.course, {'giturl': {'value': 'http://example.com'}}, user=self.user)
    self.assertNotIn('giturl', test_model)
