Account for LBTC in lookup_rates

This commit is contained in:
2022-04-15 15:06:28 +01:00
parent f39e6112e4
commit 72ce2704a6
4 changed files with 27 additions and 28 deletions

View File

@@ -206,7 +206,7 @@ class TestAgora(TestCase):
ad.append(margin)
expected_return.append(ad)
lookup_rates_return = self.agora.money.lookup_rates(enum_ads_return) # TODO: do this properly
lookup_rates_return = self.agora.money.lookup_rates("agora", enum_ads_return) # TODO: do this properly
self.assertCountEqual(lookup_rates_return, expected_return)
def test_lookup_rates_not_usd(self):
@@ -234,5 +234,5 @@ class TestAgora(TestCase):
ad.append(margin)
expected_return.append(ad)
# Test specifying rates=
lookup_rates_return = self.agora.money.lookup_rates(enum_ads_return, rates=cg_prices)
lookup_rates_return = self.agora.money.lookup_rates("agora", enum_ads_return, rates=cg_prices)
self.assertCountEqual(lookup_rates_return, expected_return)