Verbose failure output for failing CI test, shorted poliy duration in lifecycle test to accmodate end of probationary period.

pull/2609/head
Kieran Prasch 2021-04-05 13:09:38 -07:00
parent f36622310a
commit 712adb0be0
1 changed files with 2 additions and 2 deletions

View File

@ -298,7 +298,7 @@ def run_entire_cli_lifecycle(click_runner,
bob_keys = side_channel.fetch_bob_public_keys()
bob_encrypting_key = bob_keys.bob_encrypting_key
bob_verifying_key = bob_keys.bob_verifying_key
expiration = (maya.now() + datetime.timedelta(days=35)).datetime().strftime("%Y-%m-%d %H:%M:%S")
expiration = (maya.now() + datetime.timedelta(days=15)).datetime().strftime("%Y-%m-%d %H:%M:%S")
grant_args = ('alice', 'grant',
'--mock-networking',
@ -320,7 +320,7 @@ def run_entire_cli_lifecycle(click_runner,
'--rate', Web3.toWei(9, 'gwei'))
grant_result = click_runner.invoke(nucypher_cli, grant_args, catch_exceptions=False, env=envvars)
assert grant_result.exit_code == 0, grant_result.output
assert grant_result.exit_code == 0, (grant_result.output, grant_result.exception)
grant_result = json.loads(grant_result.output)