mirror of https://github.com/nucypher/nucypher.git
Code cleanup for testing.
parent
18527588ba
commit
ed0a884e67
|
@ -320,7 +320,7 @@ class ActiveRitualTracker:
|
|||
# not successful - and unsure of state values
|
||||
# obtain information from contract
|
||||
(
|
||||
_,
|
||||
_, # participating ignored - we know we are participating
|
||||
posted_transcript,
|
||||
posted_aggregate,
|
||||
) = self._get_participation_state_values_from_contract(
|
||||
|
|
|
@ -249,9 +249,8 @@ def test_get_ritual_participant_info(ritualist, get_random_checksum_address):
|
|||
# random participants
|
||||
for i in range(0, 3):
|
||||
participant = CoordinatorAgent.Ritual.Participant(
|
||||
provider=get_random_checksum_address
|
||||
provider=get_random_checksum_address()
|
||||
)
|
||||
participant.provider.return_value = get_random_checksum_address()
|
||||
participants.append(participant)
|
||||
mocked_agent.get_participants.return_value = participants
|
||||
|
||||
|
@ -281,9 +280,8 @@ def test_get_participation_state_values_from_contract(
|
|||
# random participants
|
||||
for i in range(0, 5):
|
||||
participant = CoordinatorAgent.Ritual.Participant(
|
||||
provider=get_random_checksum_address
|
||||
provider=get_random_checksum_address()
|
||||
)
|
||||
participant.provider.return_value = get_random_checksum_address()
|
||||
participants.append(participant)
|
||||
|
||||
mocked_agent.get_participants.return_value = participants
|
||||
|
|
Loading…
Reference in New Issue