Merge pull request #3611 from lbryio/fix_hub_url

tests: fix hub url
This commit is contained in:
Victor Shyba 2022-05-20 18:19:39 -03:00 committed by GitHub
commit 5c708e1c6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
__hub_url__ = ( __hub_url__ = (
"https://github.com/lbryio/hub/releases/download/v0.2022.01.21.1/hub" "https://github.com/lbryio/herald/releases/download/v0.2022.01.21.1/hub"
) )
from lbry.wallet.orchstr8.node import Conductor from lbry.wallet.orchstr8.node import Conductor
from lbry.wallet.orchstr8.service import ConductorService from lbry.wallet.orchstr8.service import ConductorService

View file

@ -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):