X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FTrader.git;a=blobdiff_plain;f=tests%2Ftest_ccxt_wrapper.py;h=18feab32da53f3252541b116aee3fa13052ba11e;hp=f07674e7927e130ce94efb680c2420243cf56c65;hb=18de421e455ab4b125a6684d703a296562097e6b;hpb=c5a3b4e8c00f8d7bb54b342b1dd43c08bbfbd4db 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): create_order.assert_called_once_with("symbol", "type", "side", "amount", price="price", params="params") + def test_common_currency_code(self): + self.assertEqual("FOO", self.s.common_currency_code("FOO")) + def test_currency_id(self): + self.assertEqual("FOO", self.s.currency_id("FOO"))