aboutsummaryrefslogtreecommitdiff
path: root/tests/test_ccxt_wrapper.py
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-09 11:52:45 +0200
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-04-09 11:52:45 +0200
commit18de421e455ab4b125a6684d703a296562097e6b (patch)
tree1e68454391f91136cfd53360e916d1047c413abb /tests/test_ccxt_wrapper.py
parentc5a3b4e8c00f8d7bb54b342b1dd43c08bbfbd4db (diff)
downloadTrader-18de421e455ab4b125a6684d703a296562097e6b.tar.gz
Trader-18de421e455ab4b125a6684d703a296562097e6b.tar.zst
Trader-18de421e455ab4b125a6684d703a296562097e6b.zip
Fix ccxt switching currency codes
Diffstat (limited to 'tests/test_ccxt_wrapper.py')
-rw-r--r--tests/test_ccxt_wrapper.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/test_ccxt_wrapper.py b/tests/test_ccxt_wrapper.py
index f07674e..18feab3 100644
--- a/tests/test_ccxt_wrapper.py
+++ b/tests/test_ccxt_wrapper.py
@@ -477,4 +477,8 @@ class poloniexETest(unittest.TestCase):
477 477
478 create_order.assert_called_once_with("symbol", "type", "side", "amount", price="price", params="params") 478 create_order.assert_called_once_with("symbol", "type", "side", "amount", price="price", params="params")
479 479
480 def test_common_currency_code(self):
481 self.assertEqual("FOO", self.s.common_currency_code("FOO"))
480 482
483 def test_currency_id(self):
484 self.assertEqual("FOO", self.s.currency_id("FOO"))