forked from LBRYCommunity/lbry-sdk
increase lbc exchange rate threshold
This commit is contained in:
parent
39821146bd
commit
77d7960347
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class TestExchangeRateManager(AsyncioTestCase):
|
||||||
self.assertLessEqual(len(failures), 1, f"feed failures: {failures}. Please check exchange rate feeds!")
|
self.assertLessEqual(len(failures), 1, f"feed failures: {failures}. Please check exchange rate feeds!")
|
||||||
lbc = manager.convert_currency('USD', 'LBC', Decimal('1.0'))
|
lbc = manager.convert_currency('USD', 'LBC', Decimal('1.0'))
|
||||||
self.assertGreaterEqual(lbc, 2.0)
|
self.assertGreaterEqual(lbc, 2.0)
|
||||||
self.assertLessEqual(lbc, 20.0)
|
self.assertLessEqual(lbc, 30.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, 10_000)
|
self.assertLessEqual(lbc, 10_000)
|
||||||
|
|
Loading…
Reference in a new issue