summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAli Polatel <hawking@gentoo.org>2008-04-16 11:07:39 +0000
committerAli Polatel <hawking@gentoo.org>2008-04-16 11:07:39 +0000
commit2b83247cca93ba0db5634cf86d7415ab20ce7b35 (patch)
tree619d3d5c88c430b51c206d5102aa3cdd135bde50 /dev-python/pyopenssl/files
parentsys-fs/ntfs3g-1.2310: x86 stable (bug #217890) (diff)
downloadgentoo-2-2b83247cca93ba0db5634cf86d7415ab20ce7b35.tar.gz
gentoo-2-2b83247cca93ba0db5634cf86d7415ab20ce7b35.tar.bz2
gentoo-2-2b83247cca93ba0db5634cf86d7415ab20ce7b35.zip
Version bump. Added src_test. Quoting.
(Portage version: 2.1.5_rc3)
Diffstat (limited to 'dev-python/pyopenssl/files')
-rw-r--r--dev-python/pyopenssl/files/pyopenssl-0.7-test.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/dev-python/pyopenssl/files/pyopenssl-0.7-test.patch b/dev-python/pyopenssl/files/pyopenssl-0.7-test.patch
new file mode 100644
index 000000000000..d062bfe961b3
--- /dev/null
+++ b/dev-python/pyopenssl/files/pyopenssl-0.7-test.patch
@@ -0,0 +1,20 @@
+--- pyOpenSSL-0.7/test/test_crypto.py 2008-04-11 18:45:54.000000000 +0300
++++ pyOpenSSL-0.7/test/test_crypto.py 2008-04-16 13:14:19.088659137 +0300
+@@ -534,3 +534,7 @@
+ self.assertEqual(
+ cert.digest("md5"),
+ "A8:EB:07:F8:53:25:0A:F2:56:05:C5:A5:C4:C4:C7:15")
++
++if __name__ == '__main__':
++ import unittest
++ unittest.main()
+--- pyOpenSSL-0.7/test/test_ssl.py 2008-03-22 00:34:42.000000000 +0200
++++ pyOpenSSL-0.7/test/test_ssl.py 2008-04-16 13:15:33.345659292 +0300
+@@ -35,3 +35,7 @@
+ ctx = Context(TLSv1_METHOD)
+ ctx.use_privatekey(key)
+ self.assertRaises(TypeError, ctx.use_privatekey, "")
++
++if __name__ == '__main__':
++ import unittest
++ unittest.main()