Stray import of Signature.

pull/284/head
jMyles 2018-06-02 19:54:08 -07:00
parent 57396ef1ca
commit 8379b23a1f
2 changed files with 2 additions and 6 deletions

View File

@ -114,7 +114,7 @@ def test_bob_can_issue_a_work_order_to_a_specific_ursula(enacted_policy, bob,
# Attach the CFrag to the Capsule.
capsule = capsule_side_channel[0].capsule
capsule.set_correctness_keys(delegating=enacted_policy.public_key,
encrypting=bob.public_key(EncryptingPower),
receiving=bob.public_key(EncryptingPower),
verifying=alice.stamp.as_umbral_pubkey())
capsule.attach_cfrag(the_cfrag)
@ -142,7 +142,7 @@ def test_bob_can_issue_a_work_order_to_a_specific_ursula(enacted_policy, bob,
assert the_correct_cfrag.verify_correctness(capsule,
delegating_pubkey=enacted_policy.public_key,
signing_pubkey=alice.stamp.as_umbral_pubkey(),
encrypting_pubkey=bob.public_key(EncryptingPower))
receiving_pubkey=bob.public_key(EncryptingPower))
# Now we'll show that Ursula saved the correct WorkOrder.
work_orders_from_bob = ursula.work_orders(bob=bob)

View File

@ -11,10 +11,6 @@ from nucypher.blockchain.eth.chains import Blockchain
from nucypher.characters import Alice, Bob
from nucypher.config.configs import NucypherConfig
from nucypher.crypto.signature import SignatureStamp
from nucypher.keystore import keystore
from nucypher.keystore.db import Base
from nucypher.data_sources import DataSource
from nucypher.keystore import keystore