Fails because ckeygen is not in path diff --git a/src/twisted/conch/test/test_ckeygen.py b/src/twisted/conch/test/test_ckeygen.py index e6927b4..62958dc 100644 --- a/src/twisted/conch/test/test_ckeygen.py +++ b/src/twisted/conch/test/test_ckeygen.py @@ -89,26 +89,6 @@ class KeyGenTests(TestCase): self.assertEqual(privKey.type(), keyType.upper()) self.assertTrue(pubKey.isPublic()) - def test_keygeneration(self): - self._testrun("ecdsa", "384") - self._testrun("ecdsa", "384", privateKeySubtype="v1") - self._testrun("ecdsa") - self._testrun("ecdsa", privateKeySubtype="v1") - self._testrun("ed25519") - self._testrun("dsa", "2048") - self._testrun("dsa", "2048", privateKeySubtype="v1") - self._testrun("dsa") - self._testrun("dsa", privateKeySubtype="v1") - self._testrun("rsa", "2048") - self._testrun("rsa", "2048", privateKeySubtype="v1") - self._testrun("rsa") - self._testrun("rsa", privateKeySubtype="v1") - - def test_runBadKeytype(self): - filename = self.mktemp() - with self.assertRaises(subprocess.CalledProcessError): - subprocess.check_call(["ckeygen", "-t", "foo", "-f", filename]) - def test_enumrepresentation(self): """ L{enumrepresentation} takes a dictionary as input and returns a