'If feature flag is on, then giturl must not be updated.'

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

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