diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_portfolio.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_portfolio.py b/tests/test_portfolio.py index 6ca3327..bc69921 100644 --- a/tests/test_portfolio.py +++ b/tests/test_portfolio.py | |||
@@ -832,6 +832,10 @@ class OrderTest(WebMockTestCase): | |||
832 | 832 | ||
833 | self.m.ccxt.is_dust_trade.return_value = True | 833 | self.m.ccxt.is_dust_trade.return_value = True |
834 | order.mark_dust_amount_remaining_order() | 834 | order.mark_dust_amount_remaining_order() |
835 | self.assertEqual("pending", order.status) | ||
836 | |||
837 | order.status = "open" | ||
838 | order.mark_dust_amount_remaining_order() | ||
835 | self.assertEqual("closed_dust_remaining", order.status) | 839 | self.assertEqual("closed_dust_remaining", order.status) |
836 | 840 | ||
837 | @mock.patch.object(portfolio.Order, "fetch") | 841 | @mock.patch.object(portfolio.Order, "fetch") |