summaryrefslogtreecommitdiff
path: root/OpenSSL
diff options
context:
space:
mode:
authorJean-Paul Calderone <exarkun@divmod.com>2011-09-14 09:48:58 -0400
committerJean-Paul Calderone <exarkun@divmod.com>2011-09-14 09:48:58 -0400
commit5d9d7f1797d3ad8987dc760cf6f5c4a0f5747f19 (patch)
tree9039e06a2d84132f7e01a4ca5891003827d7bf4a /OpenSSL
parent1a71a4ab1efe0635817383708046a16850666a60 (diff)
downloadpyopenssl-5d9d7f1797d3ad8987dc760cf6f5c4a0f5747f19.tar.gz
epytext to rst
Diffstat (limited to 'OpenSSL')
-rw-r--r--OpenSSL/test/test_crypto.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py
index dba9ce8..47b3df3 100644
--- a/OpenSSL/test/test_crypto.py
+++ b/OpenSSL/test/test_crypto.py
@@ -1981,7 +1981,7 @@ class FunctionTests(TestCase):
def test_load_privatekey_passphraseWrongType(self):
"""
- L{load_privatekey} raises C{ValueError} when it is passed a passphrase
+ :py:obj:`load_privatekey` raises :py:obj:`ValueError` when it is passed a passphrase
with a private key encoded in a format, that doesn't support
encryption.
"""
@@ -2089,7 +2089,7 @@ class FunctionTests(TestCase):
def test_load_privatekey_passphraseCallbackLeak(self):
"""
- L{crypto.load_privatekey} should not leak a reference to the
+ :py:obj:`crypto.load_privatekey` should not leak a reference to the
passphrase when the passphrase is provided by a callback.
"""
def cb(ignored):
@@ -2104,7 +2104,7 @@ class FunctionTests(TestCase):
def test_load_privatekey_passphraseCallbackLength(self):
"""
- L{crypto.load_privatekey} should raise an error when the passphrase
+ :py:obj:`crypto.load_privatekey` should raise an error when the passphrase
provided by the callback is too long, not silently truncate it.
"""
def cb(ignored):
@@ -2130,7 +2130,7 @@ class FunctionTests(TestCase):
def test_dump_privatekey_passphraseWrongType(self):
"""
- L{dump_privatekey} raises C{ValueError} when it is passed a passphrase
+ :py:obj:`dump_privatekey` raises :py:obj:`ValueError` when it is passed a passphrase
with a private key encoded in a format, that doesn't support
encryption.
"""
@@ -2219,7 +2219,7 @@ class FunctionTests(TestCase):
def test_dump_privatekey_passphrase_exception(self):
"""
- L{dump_privatekey} should not overwrite the exception raised
+ :py:obj:`dump_privatekey` should not overwrite the exception raised
by the passphrase callback.
"""
def cb(ignored):
@@ -2232,7 +2232,7 @@ class FunctionTests(TestCase):
def test_dump_privatekey_passphraseCallbackLeak(self):
"""
- L{crypto.dump_privatekey} should not leak a reference to the
+ :py:obj:`crypto.dump_privatekey` should not leak a reference to the
passphrase when the passphrase is provided by a callback.
"""
def cb(ignored):
@@ -2248,7 +2248,7 @@ class FunctionTests(TestCase):
def test_dump_privatekey_passphraseCallbackLength(self):
"""
- L{crypto.dump_privatekey} should raise an error when the passphrase
+ :py:obj:`crypto.dump_privatekey` should raise an error when the passphrase
provided by the callback is too long, not silently truncate it.
"""
def cb(ignored):