mirror of https://github.com/nucypher/nucypher.git
remove more blockchain language
parent
0222a17c6b
commit
67619c7ee1
|
@ -131,7 +131,7 @@ def test_vladimir_invalidity_without_stake(testerchain, ursulas, alice):
|
|||
|
||||
|
||||
# TODO: Change name of this file, extract this test
|
||||
def test_blockchain_ursulas_reencrypt(ursulas, alice, bob, policy_value):
|
||||
def test_ursulas_reencrypt(ursulas, alice, bob, policy_value):
|
||||
label = b'bbo'
|
||||
|
||||
# TODO: Make sample selection buffer configurable - #1061
|
||||
|
|
|
@ -29,7 +29,7 @@ def test_all_ursulas_know_about_all_other_ursulas(ursulas, agency, test_registry
|
|||
format(propagating_ursula, Nickname.from_seed(address))
|
||||
|
||||
|
||||
def test_blockchain_alice_finds_ursula_via_rest(alice, ursulas):
|
||||
def test_alice_finds_ursula_via_rest(alice, ursulas):
|
||||
# Imagine alice knows of nobody.
|
||||
alice._Learner__known_nodes = FleetSensor(domain=TEMPORARY_DOMAIN)
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ real-world scenarios.
|
|||
|
||||
def test_sign_cleartext_and_encrypt(alice, bob):
|
||||
"""
|
||||
Exhibit One: blockchain_alice signs the cleartext and encrypts her signature inside
|
||||
Exhibit One: alice signs the cleartext and encrypts her signature inside
|
||||
the ciphertext.
|
||||
"""
|
||||
message = b"Have you accepted my answer on StackOverflow yet?"
|
||||
|
|
|
@ -12,7 +12,7 @@ from tests.constants import NUMBER_OF_URSULAS_IN_DEVELOPMENT_NETWORK
|
|||
from tests.utils.middleware import MockRestMiddleware
|
||||
|
||||
|
||||
def test_blockchain_bob_full_retrieve_flow(
|
||||
def test_bob_full_retrieve_flow(
|
||||
ursulas, bob, alice, capsule_side_channel, treasure_map, enacted_policy
|
||||
):
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@ def test_grant(alice, bob, ursulas):
|
|||
assert isinstance(kfrag_kit, EncryptedKeyFrag)
|
||||
|
||||
|
||||
def test_blockchain_alice_can_decrypt(alice, bob):
|
||||
def test_alice_can_decrypt(alice, bob):
|
||||
"""
|
||||
Test that alice can decrypt data encrypted by an enrico
|
||||
for her own derived policy pubkey.
|
||||
|
@ -80,7 +80,7 @@ def test_blockchain_alice_can_decrypt(alice, bob):
|
|||
|
||||
|
||||
@pytest.mark.skip("Needs rework post-TMcKF") # TODO: Implement offchain revocation.
|
||||
@pytest.mark.usefixtures('blockchain_ursulas')
|
||||
@pytest.mark.usefixtures("bursulas")
|
||||
def test_revocation(alice, bob):
|
||||
threshold, shares = 2, 3
|
||||
policy_end_datetime = maya.now() + datetime.timedelta(days=5)
|
||||
|
|
Loading…
Reference in New Issue