'Validate `project_id` is not required for non-ec2.
Test that create request without `project_id` succeeds for any
non-ec2 credential.'

def test_validate_credential_non_ec2_without_project_id_succeeds(self):

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