'Test that credential request works for all types.'

def test_validate_credential_with_project_id_succeeds(self):

    cred_types = ['ec2', 'cert', uuid.uuid4().hex]
    for c_type in cred_types:
        request_to_validate = {'blob': 'some    blob', 'project_id': uuid.uuid4().hex, 'type': c_type, 'user_id': uuid.uuid4().hex}
        self.create_credential_validator.validate(request_to_validate)
