Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Commit e88ce83

Browse files
authored
Merge pull request #618 from bancorprotocol/Fixing-Test-39
Fixing test 39 (silent fails of curve conversion)
2 parents 11e993d + 345b596 commit e88ce83

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fastlane_bot/tests/test_039_TestMultiMode.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,7 @@ def test_test_tax_tokens():
140140
# ------------------------------------------------------------
141141

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

144145
for curve in CCm:
145146
for token in cfg.TAX_TOKENS:
@@ -178,6 +179,7 @@ def test_test_combos_and_tokens():
178179
# ------------------------------------------------------------
179180

180181
# +
182+
assert len(CCm) == 516, f"[NBTest 039 TestMultiMode] Expected 516 curves, found {len(CCm)}"
181183
arb_finder = bot._get_arb_finder("multi")
182184
finder = arb_finder(
183185
flashloan_tokens=flashloan_tokens,
@@ -205,6 +207,7 @@ def test_test_expected_output():
205207
# ------------------------------------------------------------
206208

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

0 commit comments

Comments
 (0)