Add test for failing case
This commit is contained in:
parent
a218946f52
commit
9aa7db103d
@ -210,3 +210,10 @@ def test_convert_amount(mocker):
|
|||||||
fiat_symbol="BTC"
|
fiat_symbol="BTC"
|
||||||
)
|
)
|
||||||
assert result == 1.23
|
assert result == 1.23
|
||||||
|
|
||||||
|
result = fiat_convert.convert_amount(
|
||||||
|
crypto_amount="1.23",
|
||||||
|
crypto_symbol="BTC",
|
||||||
|
fiat_symbol="BTC"
|
||||||
|
)
|
||||||
|
assert result == 1.23
|
||||||
|
Loading…
Reference in New Issue
Block a user