'Try generating assertion for disabled Service Provider.'

def test_sp_disabled(self):

    sp_ref = {'enabled': False}
    self.federation_api.update_sp(self.SERVICE_PROVDIER_ID, sp_ref)
    token_id = self._fetch_valid_token()
    body = self._create_generate_saml_request(token_id, self.SERVICE_PROVDIER_ID)
    self.post(self.SAML_GENERATION_ROUTE, body=body, expected_status=http_client.FORBIDDEN)
