aboutsummaryrefslogtreecommitdiff
path: root/tests/test_market.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-08 20:33:47 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-05-08 20:33:47 +0200
commit3a15ffc79ea84e5ec6200545bcbf11fc6c1c6564 (patch)
tree047b8069d8889e251bd359f27e72b0a6ab212660 /tests/test_market.py
parentaf928d32483535a817b62a68f2dcb215f48ed29c (diff)
downloadTrader-3a15ffc79ea84e5ec6200545bcbf11fc6c1c6564.tar.gz
Trader-3a15ffc79ea84e5ec6200545bcbf11fc6c1c6564.tar.zst
Trader-3a15ffc79ea84e5ec6200545bcbf11fc6c1c6564.zip
Add USDT rate to balances
Diffstat (limited to 'tests/test_market.py')
-rw-r--r--tests/test_market.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_market.py b/tests/test_market.py
index 6a9ea76..2c92655 100644
--- a/tests/test_market.py
+++ b/tests/test_market.py
@@ -1042,6 +1042,7 @@ class ProcessorTest(WebMockTestCase):
1042 self.m.balances.fetch_balances.assert_has_calls([ 1042 self.m.balances.fetch_balances.assert_has_calls([
1043 mock.call(add_portfolio=True, checkpoint='end', 1043 mock.call(add_portfolio=True, checkpoint='end',
1044 log_tickers=True, 1044 log_tickers=True,
1045 add_usdt=True,
1045 tag='process_foo__0_print_balances_begin') 1046 tag='process_foo__0_print_balances_begin')
1046 ]) 1047 ])
1047 1048
@@ -1060,7 +1061,7 @@ class ProcessorTest(WebMockTestCase):
1060 1061
1061 processor.process_step("foo", step, {"foo":"bar"}) 1062 processor.process_step("foo", step, {"foo":"bar"})
1062 self.m.balances.fetch_balances.assert_called_once_with( 1063 self.m.balances.fetch_balances.assert_called_once_with(
1063 add_portfolio=True, log_tickers=True, 1064 add_portfolio=True, add_usdt=True, log_tickers=True,
1064 tag='process_foo__1_print_balances_begin') 1065 tag='process_foo__1_print_balances_begin')
1065 1066
1066 def test_parse_args(self): 1067 def test_parse_args(self):