From 7b39527863a0a1e3ddd0cd8b7c3d8e1e22b3bb54 Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 15 Jun 2021 15:38:18 -0400 Subject: [PATCH] update exchange rate threshold in integration tests due to significant drop in LBC price --- tests/integration/other/test_exchange_rate_manager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/other/test_exchange_rate_manager.py b/tests/integration/other/test_exchange_rate_manager.py index 651b0088f..ba2a5eb0e 100644 --- a/tests/integration/other/test_exchange_rate_manager.py +++ b/tests/integration/other/test_exchange_rate_manager.py @@ -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):