':py:obj:`load_privatekey` raises :py:obj:`ValueError` if passed an unknown filetype.'

def test_load_privatekey_invalid_format(self):

    self.assertRaises(ValueError, load_privatekey, 100, root_key_pem)
