Add test for failing case

This commit is contained in:
Matthias 2019-09-09 19:59:41 +02:00
parent a218946f52
commit 9aa7db103d

View File

@ -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