diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-08-14 13:35:05 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-08-14 13:35:05 -0700 |
commit | 9875a9149dae1e64129d50690a455ce693f20ac9 (patch) | |
tree | 07966db5e58725d35ecefa4fc83389638f7ecdf6 | |
parent | 8fa1dd68a83eeceb4fef78122e1d5d33a53b0fab (diff) | |
download | pyopenssl-9875a9149dae1e64129d50690a455ce693f20ac9.tar.gz |
Added a docstring
-rw-r--r-- | OpenSSL/test/test_crypto.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSSL/test/test_crypto.py b/OpenSSL/test/test_crypto.py index c6ed6c0..60f9e6a 100644 --- a/OpenSSL/test/test_crypto.py +++ b/OpenSSL/test/test_crypto.py @@ -2593,6 +2593,10 @@ class FunctionTests(TestCase): def test_load_pkcs7_data_asn1(self): + """ + :py:obj:`load_pkcs7_data` accepts a bytes containing ASN1 data + representing PKCS#7 and returns an instance of :py:obj`PKCS7Type`. + """ pkcs7 = load_pkcs7_data(FILETYPE_ASN1, pkcs7DataASN1) self.assertTrue(isinstance(pkcs7, PKCS7Type)) |