'Verify that no data is retrieved if the provided config model is disabled.'

@mock.patch((UTILITY_MODULE + '.log.warning'))
def test_api_config_disabled(self, mock_warning):

    catalog_integration = self.create_catalog_integration(enabled=False)
    actual = get_edx_api_data(catalog_integration, 'programs', api=None)
    self.assertTrue(mock_warning.called)
    self.assertEqual(actual, [])
