':py:obj:`X509.set_issuer` changes the issuer of the certificate to the one
passed in.'

def test_set_issuer(self):

    cert = X509()
    name = cert.get_issuer()
    name.C = 'AU'
    name.O = 'Unit    Tests'
    cert.set_issuer(name)
    self.assertEquals(cert.get_issuer().get_components(), [(b('C'), b('AU')), (b('O'), b('Unit    Tests'))])
