Relax range in test_exchange_rate_manager.py.

This commit is contained in:
Jonathan Moody 2022-06-16 14:08:16 -04:00
parent 3ae4aeea47
commit 7049629ad7

View file

@ -24,7 +24,7 @@ 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, 80.0)
self.assertLessEqual(lbc, 100.0)
lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01'))
self.assertGreaterEqual(lbc, 1_000)
self.assertLessEqual(lbc, 30_000)