Skip to content

Commit

Permalink
Test39: asserting all curves are being converted
Browse files Browse the repository at this point in the history
  • Loading branch information
sklbancor committed May 6, 2024
1 parent 449cd7b commit a480254
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions fastlane_bot/tests/test_039_TestMultiMode.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ def test_test_tax_tokens():
# ------------------------------------------------------------

assert any(token.address in cfg.TAX_TOKENS for token in tokens), f"[TestMultiMode], DB does not include any tax tokens"
assert len(CCm) == 516, f"[NBTest 039 TestMultiMode] Expected 516 curves, found {len(CCm)}"

for curve in CCm:
for token in cfg.TAX_TOKENS:
Expand Down Expand Up @@ -178,6 +179,7 @@ def test_test_combos_and_tokens():
# ------------------------------------------------------------

# +
assert len(CCm) == 516, f"[NBTest 039 TestMultiMode] Expected 516 curves, found {len(CCm)}"
arb_finder = bot._get_arb_finder("multi")
finder = arb_finder(
flashloan_tokens=flashloan_tokens,
Expand Down Expand Up @@ -205,6 +207,7 @@ def test_test_expected_output():
# ------------------------------------------------------------

# +
assert len(CCm) == 516, f"[NBTest 039 TestMultiMode] Expected 516 curves, found {len(CCm)}"
arb_finder = bot._get_arb_finder("multi")
finder = arb_finder(
flashloan_tokens=flashloan_tokens,
Expand Down

0 comments on commit a480254

Please sign in to comment.