'Test that Keystone can add two entities.
The entities have identical names, however, attached to different
IdPs.
1. Add IdP and assign it protocol with predefined name
2. Add another IdP and assign it a protocol with same name.
Expect HTTP 201 code'

def test_protocol_composite_pk(self):

    url = self.base_url(suffix='%(idp_id)s/protocols/%(protocol_id)s')
    kwargs = {'expected_status': http_client.CREATED}
    self._assign_protocol_to_idp(proto='saml2', url=url, **kwargs)
    self._assign_protocol_to_idp(proto='saml2', url=url, **kwargs)
