':py:obj:`X509.subject_name_hash` raises :py:obj:`TypeError` if called with any
arguments.'

def test_subject_name_hash_wrong_args(self):

    cert = X509()
    self.assertRaises(TypeError, cert.subject_name_hash, None)
