tests: bump exchange rate manager test

This commit is contained in:
Victor Shyba 2022-05-20 17:25:02 -03:00
parent 4ab29c4d5f
commit 9436600267

View file

@ -27,7 +27,7 @@ class TestExchangeRateManager(AsyncioTestCase):
self.assertLessEqual(lbc, 80.0) self.assertLessEqual(lbc, 80.0)
lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01')) lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01'))
self.assertGreaterEqual(lbc, 1_000) self.assertGreaterEqual(lbc, 1_000)
self.assertLessEqual(lbc, 20_000) self.assertLessEqual(lbc, 30_000)
async def test_it_handles_feed_being_offline(self): async def test_it_handles_feed_being_offline(self):
class FakeFeed(MarketFeed): class FakeFeed(MarketFeed):