cryptography has deprecated serial in favor of serial_number

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
Christian Heimes
2017-02-10 14:20:22 +01:00
committed by Martin Basti
parent a33b25dea9
commit 3d9bec2e87
6 changed files with 12 additions and 12 deletions

View File

@@ -116,6 +116,6 @@ class test_x509(object):
assert DN(cert.subject) == DN(('CN', 'ipa.example.com'), ('O', 'IPA'))
assert DN(cert.issuer) == DN(('CN', 'IPA Test Certificate Authority'))
assert cert.serial == 1093
assert cert.serial_number == 1093
assert cert.not_valid_before == not_before
assert cert.not_valid_after == not_after