forked from LBRYCommunity/lbry-sdk
update exchange rate threshold in integration tests due to significant drop in LBC price
This commit is contained in:
parent
d861b08866
commit
7b39527863
1 changed files with 2 additions and 2 deletions
|
@ -24,10 +24,10 @@ class TestExchangeRateManager(AsyncioTestCase):
|
|||
self.assertLessEqual(len(failures), 1, f"feed failures: {failures}. Please check exchange rate feeds!")
|
||||
lbc = manager.convert_currency('USD', 'LBC', Decimal('1.0'))
|
||||
self.assertGreaterEqual(lbc, 2.0)
|
||||
self.assertLessEqual(lbc, 15.0)
|
||||
self.assertLessEqual(lbc, 20.0)
|
||||
lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01'))
|
||||
self.assertGreaterEqual(lbc, 1_000)
|
||||
self.assertLessEqual(lbc, 4_000)
|
||||
self.assertLessEqual(lbc, 8_000)
|
||||
|
||||
async def test_it_handles_feed_being_offline(self):
|
||||
class FakeFeed(MarketFeed):
|
||||
|
|
Loading…
Reference in a new issue