'If feature flag ENABLE_EXPORT_GIT is off, don\'t show the setting at all on the Advanced Settings page.'

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

    test_model = CourseMetadata.fetch(self.fullcourse)
    self.assertNotIn('giturl', test_model)
