reverted temporary code for full local stack from

This commit is contained in:
Brannon King 2019-02-15 16:00:00 -07:00 committed by Lex Berezhny
parent c326a9382c
commit 8d9da61c7d
2 changed files with 1 additions and 20 deletions

View file

@ -404,18 +404,3 @@ class ClaimCommands(CommandTestCase):
self.assertEqual(c2['claim_id'], r4c)
self.assertEqual(r3c, r4c)
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)

View file

@ -67,9 +67,6 @@ class CommandTestCase(IntegrationTestCase):
MANAGER = LbryWalletManager
VERBOSITY = logging.WARN
async def asyncDaemonStart(self):
await self.daemon.initialize()
async def asyncSetUp(self):
await super().asyncSetUp()
@ -81,7 +78,6 @@ class CommandTestCase(IntegrationTestCase):
conf.data_dir = self.wallet_node.data_path
conf.wallet_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.use_upnp = False
conf.reflect_streams = True
@ -110,7 +106,7 @@ class CommandTestCase(IntegrationTestCase):
conf, skip_components=conf.components_to_skip, wallet=wallet_maker,
exchange_rate_manager=ExchangeRateManagerComponent
))
await self.asyncDaemonStart()
await self.daemon.initialize()
self.manager.old_db = self.daemon.storage
server_tmp_dir = tempfile.mkdtemp()