From d84014a35f9a88ce03edc889700bb9c2fdd5c471 Mon Sep 17 00:00:00 2001 From: Kieran Prasch Date: Tue, 25 Sep 2018 10:12:31 -0700 Subject: [PATCH] Cast constant_sorrow constant to int --- tests/blockchain/eth/entities/test_deployers.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/blockchain/eth/entities/test_deployers.py b/tests/blockchain/eth/entities/test_deployers.py index c8899e5e7..93bf22622 100644 --- a/tests/blockchain/eth/entities/test_deployers.py +++ b/tests/blockchain/eth/entities/test_deployers.py @@ -55,7 +55,7 @@ def test_deploy_ethereum_contracts(testerchain): token_agent = NucypherTokenAgent(blockchain=testerchain) - miners_escrow_secret = os.urandom(constants.DISPATCHER_SECRET_LENGTH) + miners_escrow_secret = os.urandom(int(constants.DISPATCHER_SECRET_LENGTH)) miner_escrow_deployer = MinerEscrowDeployer( token_agent=token_agent, deployer_address=origin, @@ -65,7 +65,7 @@ def test_deploy_ethereum_contracts(testerchain): miner_agent = MinerAgent(token_agent=token_agent) - policy_manager_secret = os.urandom(constants.DISPATCHER_SECRET_LENGTH) + policy_manager_secret = os.urandom(int(constants.DISPATCHER_SECRET_LENGTH)) policy_manager_deployer = PolicyManagerDeployer( miner_agent=miner_agent, deployer_address=origin,