Skip to content

Commit

Permalink
test: fix, shorter integration
Browse files Browse the repository at this point in the history
  • Loading branch information
heswithme committed Oct 16, 2024
1 parent f16335d commit fa3dd6f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,6 @@ def rewards_handler(vault, minimum_weight):
)
vault.set_role(rh, 2**11 | 2**5 | 2**0, sender=ab.dao_agent)

# TODO how to enforce this in prod?
time = vault.profitMaxUnlockTime()
rh.eval(f"self.distribution_time = {time}")

return rh


Expand Down
4 changes: 2 additions & 2 deletions tests/integration/curve_pools/test_stableswap.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
import address_book as ab


N_COMBINATIONS = 40 # num of combinations in stableswap tests (>=36 => all combinations)
N_COMBINATIONS = 3 # num of combinations in stableswap tests (>=36 => all combinations)

# produce tokens for stableswap to pair against crvusd
paired_token_combinations = generate_list_combinations(ab.all_stables, [1, 2], randomize=False)
paired_token_combinations = generate_list_combinations(ab.all_stables, [1, 2], randomize=True)
tokens_subset = paired_token_combinations[0:N_COMBINATIONS]


Expand Down

0 comments on commit fa3dd6f

Please sign in to comment.