fix tests in test_bls_crypto_factory.py
@@ -31,7 +31,7 @@ def test_create_and_store_bls_keys(bls_crypto_factory):
pk, key_proof = bls_crypto_factory.generate_and_store_bls_keys()
assert pk
assert isinstance(pk, str)
- assert not bls_crypto_factory.bls_verifier\
+ assert bls_crypto_factory.create_bls_crypto_verifier()\
.verify_key_proof_of_possession(key_proof, pk)
@@ -41,7 +41,7 @@ def test_create_bls_keys(bls_crypto_factory):
assert sk
assert isinstance(sk, str)
assert isinstance(pk, str)
- assert not bls_crypto_factory.bls_verifier\
+ assert bls_crypto_factory.create_bls_crypto_verifier()\
.verify_key_proof_of_possession(key_proof, pk)
