Touch-ups for Enrico exmaples style; Adds secondary custom install path test constant; Fixup ci config.

pull/760/head
Kieran R. Prasch 2019-02-14 20:50:18 -07:00 committed by jMyles
parent c43cdd573b
commit 66a4ef1803
4 changed files with 6 additions and 4 deletions

View File

@ -170,7 +170,6 @@ workflows:
ignore: /.*/
requires:
- cli
- ursula_command
- test_deploy:
context: "NuCypher PyPI"
requires:

View File

@ -106,7 +106,7 @@ for counter, plaintext in enumerate(finnegans_wake):
#########################
# Enrico, the Encryptor #
#########################
enrico = Enrico(policy_pubkey_enc=policy_pubkey)
enrico = Enrico(policy_encrypting_key=policy_pubkey)
# In this case, the plaintext is a
# single passage from James Joyce's Finnegan's Wake.

View File

@ -16,8 +16,8 @@ def generate_heart_rate_samples(policy_pubkey,
label: bytes = DEFAULT_LABEL,
samples: int = 500,
save_as_file: bool = False):
data_source = Enrico(policy_pubkey_enc=policy_pubkey,
label=label)
data_source = Enrico(policy_encrypting_key=policy_pubkey,
label=label)
data_source_public_key = bytes(data_source.stamp)

View File

@ -73,3 +73,6 @@ MOCK_IP_ADDRESS_2 = '10.10.10.10'
MOCK_URSULA_DB_FILEPATH = ':memory:'
MOCK_CUSTOM_INSTALLATION_PATH = '/tmp/nucypher-tmp-test-custom-{}'.format(time.time())
MOCK_CUSTOM_INSTALLATION_PATH_2 = '/tmp/nucypher-tmp-test-custom-2-{}'.format(time.time())