mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-01-20 05:50:36 +00:00
Add test for failing case
This commit is contained in:
@@ -210,3 +210,10 @@ def test_convert_amount(mocker):
|
||||
fiat_symbol="BTC"
|
||||
)
|
||||
assert result == 1.23
|
||||
|
||||
result = fiat_convert.convert_amount(
|
||||
crypto_amount="1.23",
|
||||
crypto_symbol="BTC",
|
||||
fiat_symbol="BTC"
|
||||
)
|
||||
assert result == 1.23
|
||||
|
||||
Reference in New Issue
Block a user