reverted temporary code for full local stack from
This commit is contained in:
parent
c326a9382c
commit
8d9da61c7d
2 changed files with 1 additions and 20 deletions
|
@ -404,18 +404,3 @@ class ClaimCommands(CommandTestCase):
|
||||||
self.assertEqual(c2['claim_id'], r4c)
|
self.assertEqual(c2['claim_id'], r4c)
|
||||||
self.assertEqual(r3c, r4c)
|
self.assertEqual(r3c, r4c)
|
||||||
self.assertEqual(r3n, r4n)
|
self.assertEqual(r3n, r4n)
|
||||||
|
|
||||||
|
|
||||||
# for debugging the full stack:
|
|
||||||
# class RunFullStackForLiveTesting(CommandTestCase):
|
|
||||||
#
|
|
||||||
# VERBOSITY = logging.INFO
|
|
||||||
#
|
|
||||||
# async def asyncDaemonStart(self):
|
|
||||||
# await self.daemon.start()
|
|
||||||
#
|
|
||||||
# async def test_full_stack(self):
|
|
||||||
# self.assertEqual('10.0', await self.daemon.jsonrpc_account_balance())
|
|
||||||
# print("Running: do your testing now.")
|
|
||||||
# while True:
|
|
||||||
# await asyncio.sleep(0.1)
|
|
|
@ -67,9 +67,6 @@ class CommandTestCase(IntegrationTestCase):
|
||||||
MANAGER = LbryWalletManager
|
MANAGER = LbryWalletManager
|
||||||
VERBOSITY = logging.WARN
|
VERBOSITY = logging.WARN
|
||||||
|
|
||||||
async def asyncDaemonStart(self):
|
|
||||||
await self.daemon.initialize()
|
|
||||||
|
|
||||||
async def asyncSetUp(self):
|
async def asyncSetUp(self):
|
||||||
await super().asyncSetUp()
|
await super().asyncSetUp()
|
||||||
|
|
||||||
|
@ -81,7 +78,6 @@ class CommandTestCase(IntegrationTestCase):
|
||||||
conf.data_dir = self.wallet_node.data_path
|
conf.data_dir = self.wallet_node.data_path
|
||||||
conf.wallet_dir = self.wallet_node.data_path
|
conf.wallet_dir = self.wallet_node.data_path
|
||||||
conf.download_dir = self.wallet_node.data_path
|
conf.download_dir = self.wallet_node.data_path
|
||||||
print("WALLET_DIR =", self.wallet_node.data_path)
|
|
||||||
conf.share_usage_data = False
|
conf.share_usage_data = False
|
||||||
conf.use_upnp = False
|
conf.use_upnp = False
|
||||||
conf.reflect_streams = True
|
conf.reflect_streams = True
|
||||||
|
@ -110,7 +106,7 @@ class CommandTestCase(IntegrationTestCase):
|
||||||
conf, skip_components=conf.components_to_skip, wallet=wallet_maker,
|
conf, skip_components=conf.components_to_skip, wallet=wallet_maker,
|
||||||
exchange_rate_manager=ExchangeRateManagerComponent
|
exchange_rate_manager=ExchangeRateManagerComponent
|
||||||
))
|
))
|
||||||
await self.asyncDaemonStart()
|
await self.daemon.initialize()
|
||||||
self.manager.old_db = self.daemon.storage
|
self.manager.old_db = self.daemon.storage
|
||||||
|
|
||||||
server_tmp_dir = tempfile.mkdtemp()
|
server_tmp_dir = tempfile.mkdtemp()
|
||||||
|
|
Loading…
Add table
Reference in a new issue