':py:meth:`X509Req.sign` raises :py:exc:`ValueError` when pass a
:py:class:`PKey` with no parts.'

def test_signWithUngenerated(self):

    request = self.signable()
    key = PKey()
    self.assertRaises(ValueError, request.sign, key, GOOD_DIGEST)
