From 761bc6ba4c158b7145f6663245118fef08ffd89f Mon Sep 17 00:00:00 2001 From: Lex Berezhny Date: Tue, 22 Jun 2021 13:32:41 -0400 Subject: [PATCH] revert release and fix test --- lbry/__init__.py | 2 +- tests/integration/blockchain/test_network.py | 4 ++-- tests/integration/other/test_exchange_rate_manager.py | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lbry/__init__.py b/lbry/__init__.py index f0b31faf6..013fe0aa9 100644 --- a/lbry/__init__.py +++ b/lbry/__init__.py @@ -1,2 +1,2 @@ -__version__ = "0.100.0" +__version__ = "0.99.0" version = tuple(map(int, __version__.split('.'))) # pylint: disable=invalid-name diff --git a/tests/integration/blockchain/test_network.py b/tests/integration/blockchain/test_network.py index 6cb5c237b..3f6e9e2d0 100644 --- a/tests/integration/blockchain/test_network.py +++ b/tests/integration/blockchain/test_network.py @@ -24,7 +24,7 @@ class NetworkTests(IntegrationTestCase): 'genesis_hash': self.conductor.spv_node.coin_class.GENESIS_HASH, 'hash_function': 'sha256', 'hosts': {}, - 'protocol_max': '0.99.0', + 'protocol_max': '0.199.0', 'protocol_min': '0.54.0', 'pruning': None, 'description': '', @@ -49,7 +49,7 @@ class NetworkTests(IntegrationTestCase): 'genesis_hash': self.conductor.spv_node.coin_class.GENESIS_HASH, 'hash_function': 'sha256', 'hosts': {}, - 'protocol_max': '0.99.0', + 'protocol_max': '0.199.0', 'protocol_min': '0.54.0', 'pruning': None, 'description': 'Fastest server in the west.', diff --git a/tests/integration/other/test_exchange_rate_manager.py b/tests/integration/other/test_exchange_rate_manager.py index 77098c168..452fcf20a 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, 30.0) + self.assertLessEqual(lbc, 60.0) lbc = manager.convert_currency('BTC', 'LBC', Decimal('0.01')) self.assertGreaterEqual(lbc, 1_000) - self.assertLessEqual(lbc, 10_000) + self.assertLessEqual(lbc, 20_000) async def test_it_handles_feed_being_offline(self): class FakeFeed(MarketFeed):