Skip to content

Commit c8c4d81

Browse files
Fix test (#470)
There was a test not generic enough and failed during changed ordermin for the underlying asset.
1 parent 04238ef commit c8c4d81

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/spot/test_spot_trade.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ def test_truncate_fail_volume_ordermin(self: Self, spot_trade: Trade) -> None:
363363
"""
364364
with pytest.raises(
365365
ValueError,
366-
match=r"Volume is less than the ordermin: 0.00005!",
366+
match=r"Volume is less than the ordermin:.*",
367367
):
368368
spot_trade.truncate(amount=0.0000001, amount_type="volume", pair="XBTUSD")
369369

0 commit comments

Comments
 (0)