tests: bump exchange rate manager test
This commit is contained in:
parent
4ab29c4d5f
commit
9436600267
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue