mirror of https://github.com/nucypher/nucypher.git
Update tests which should now work given default duration value.
parent
74cc426cb1
commit
dbbeb233d1
|
@ -16,7 +16,6 @@ from nucypher.crypto.powers import TransactingPower
|
||||||
def test_sampling_distribution(
|
def test_sampling_distribution(
|
||||||
testerchain,
|
testerchain,
|
||||||
taco_application_agent,
|
taco_application_agent,
|
||||||
taco_child_application_agent, # TODO undo and fix as part of #3458
|
|
||||||
threshold_staking,
|
threshold_staking,
|
||||||
coordinator_agent,
|
coordinator_agent,
|
||||||
deployer_account,
|
deployer_account,
|
||||||
|
@ -62,7 +61,7 @@ def test_sampling_distribution(
|
||||||
sampled, failed = 0, 0
|
sampled, failed = 0, 0
|
||||||
while sampled < SAMPLES:
|
while sampled < SAMPLES:
|
||||||
try:
|
try:
|
||||||
reservoir = taco_child_application_agent.get_staking_provider_reservoir()
|
reservoir = taco_application_agent.get_staking_provider_reservoir()
|
||||||
addresses = set(reservoir.draw(quantity))
|
addresses = set(reservoir.draw(quantity))
|
||||||
addresses.discard(NULL_ADDRESS)
|
addresses.discard(NULL_ADDRESS)
|
||||||
except taco_application_agent.NotEnoughStakingProviders:
|
except taco_application_agent.NotEnoughStakingProviders:
|
||||||
|
|
|
@ -87,8 +87,6 @@ def test_get_staker_population(taco_application_agent, staking_providers):
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
# TODO #3458
|
|
||||||
@pytest.mark.skip("Skip until issue #3458 is addressed")
|
|
||||||
@pytest.mark.usefixtures("staking_providers", "ursulas")
|
@pytest.mark.usefixtures("staking_providers", "ursulas")
|
||||||
def test_sample_staking_providers(taco_application_agent):
|
def test_sample_staking_providers(taco_application_agent):
|
||||||
all_staking_providers = list(taco_application_agent.get_staking_providers())
|
all_staking_providers = list(taco_application_agent.get_staking_providers())
|
||||||
|
|
Loading…
Reference in New Issue