Don't need to attach a cfrag in the "proof only" test.

pull/157/head
jMyles 2018-05-29 22:02:28 -07:00
parent 427e33caff
commit bd427e883c
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
import pytest
from umbral import pre, keys
from umbral import pre
from umbral.curvebn import CurveBN
from umbral.point import Point
from umbral.pre import Capsule

View File

@ -21,9 +21,6 @@ def test_correctness_proof_serialization(alices_keys):
metadata = b"This is an example of metadata for re-encryption request"
cfrag = pre.reencrypt(kfrags[0], capsule, metadata=metadata)
capsule.attach_cfrag(cfrag)
proof = cfrag.proof
proof_bytes = proof.to_bytes()