From 023083db6434dabc09f0f2fd0b44a36548017e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20N=C3=BA=C3=B1ez?= Date: Fri, 29 Mar 2019 17:07:27 +0100 Subject: [PATCH] Not enough "y'all" in "all y'all". Not enough test ETH, either. --- nucypher/utilities/sandbox/constants.py | 2 +- tests/fixtures.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/nucypher/utilities/sandbox/constants.py b/nucypher/utilities/sandbox/constants.py index 3147af203..2785b2d93 100644 --- a/nucypher/utilities/sandbox/constants.py +++ b/nucypher/utilities/sandbox/constants.py @@ -78,7 +78,7 @@ INSECURE_DEVELOPMENT_PASSWORD = ''.join(SystemRandom().choice(ascii_uppercase + MAX_TEST_SEEDER_ENTRIES = 20 -TESTING_ETH_AIRDROP_AMOUNT = int(Web3().fromWei(100, 'ether')) +TESTING_ETH_AIRDROP_AMOUNT = int(Web3().toWei(100, 'ether')) # diff --git a/tests/fixtures.py b/tests/fixtures.py index 90f2f40f8..c4c1bedaa 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -394,6 +394,7 @@ def blockchain_ursulas(three_agents, ursula_decentralized_test_config): token_agent, miner_agent, policy_agent = three_agents etherbase, alice, bob, *all_yall = token_agent.blockchain.interface.w3.eth.accounts + assert len(all_yall) >= NUMBER_OF_URSULAS_IN_DEVELOPMENT_NETWORK ursula_addresses = all_yall[:NUMBER_OF_URSULAS_IN_DEVELOPMENT_NETWORK] token_airdrop(origin=etherbase,