'Use this to change the catalog integration config model during tests.'

def set_catalog_integration(self, is_enabled=False, service_username=None):

    ConfigModelFixture('/config/catalog', {'enabled': is_enabled, 'internal_api_url': '{}/api/v1/'.format(CATALOG_STUB_URL), 'cache_ttl': 0, 'service_username': service_username}).install()
