'On authenticate, get a catalog that excludes disabled services.'

def test_project_scoped_token_catalog_excludes_disabled_service(self):

    self.assertTrue(self.endpoint['enabled'])
    self.catalog_api.update_service(self.endpoint['service_id'], {'enabled': False})
    service = self.catalog_api.get_service(self.endpoint['service_id'])
    self.assertFalse(service['enabled'])
    auth_data = self.build_authentication_request(user_id=self.user['id'], password=self.user['password'], project_id=self.project['id'])
    r = self.v3_create_token(auth_data)
    self.assertEqual([], r.result['token']['catalog'])
