aboutsummaryrefslogtreecommitdiffstats
path: root/src/scripts
diff options
context:
space:
mode:
authorPavol Žáčik <[email protected]>2019-10-22 10:59:59 +0200
committerPavol Žáčik <[email protected]>2019-10-22 19:16:11 +0200
commita5356cce62298d7fa7a17efb67dde0f46150d074 (patch)
tree1913adb96186a54f779b8edb4a17343e08292910 /src/scripts
parent2c0bd9cfb7e632bfdbc2e0af9d787d9451811904 (diff)
Add Python documentation for the X509Cert class
Diffstat (limited to 'src/scripts')
-rw-r--r--src/scripts/test_python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scripts/test_python.py b/src/scripts/test_python.py
index 00209ef56..60cb80ec5 100644
--- a/src/scripts/test_python.py
+++ b/src/scripts/test_python.py
@@ -442,7 +442,7 @@ ofvkP1EDmpx50fHLawIDAQAB
self.assertEqual(a_pem, new_a.to_pem())
def test_certs(self):
- cert = botan2.X509Cert("src/tests/data/x509/ecc/CSCA.CSCA.csca-germany.1.crt")
+ cert = botan2.X509Cert(filename="src/tests/data/x509/ecc/CSCA.CSCA.csca-germany.1.crt")
pubkey = cert.subject_public_key()
self.assertEqual(pubkey.algo_name(), 'ECDSA')