'Test service catalog with disabled service providers.
There should be no entry ``service_providers`` in the catalog.
Test passes providing no attribute was raised.'

def test_no_service_providers_in_token(self):

    sp_ref = {'enabled': False}
    for sp in (self.SP1, self.SP2, self.SP3):
        self.federation_api.update_sp(sp, sp_ref)
    token = self.token_v3_helper.get_token_data(self.user_id, ['password'])
    self.assertNotIn('service_providers', token['token'], message='Expected    Service    Catalog    not    to    have    service_providers')
