diff options
-rw-r--r-- | tests/test_x509_ext.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_x509_ext.py b/tests/test_x509_ext.py index 20d44c59..898f9bcf 100644 --- a/tests/test_x509_ext.py +++ b/tests/test_x509_ext.py @@ -840,7 +840,9 @@ class TestBasicConstraints(object): def test_hash(self): na = x509.BasicConstraints(ca=True, path_length=None) na2 = x509.BasicConstraints(ca=True, path_length=None) + na3 = x509.BasicConstraints(ca=True, path_length=0) assert hash(na) == hash(na2) + assert hash(na) != hash(na3) def test_eq(self): na = x509.BasicConstraints(ca=True, path_length=None) |