From bdb82a3661428de8e5e6274d20956e4521e7f6a2 Mon Sep 17 00:00:00 2001 From: Lex Berezhny <lex@damoti.com> Date: Fri, 8 Jan 2021 00:11:12 -0500 Subject: [PATCH] fix which tests run --- tests/integration/commands/test_claim_commands.py | 4 ++-- tox.ini | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/tests/integration/commands/test_claim_commands.py b/tests/integration/commands/test_claim_commands.py index 560bb13f4..e5b7f9e07 100644 --- a/tests/integration/commands/test_claim_commands.py +++ b/tests/integration/commands/test_claim_commands.py @@ -810,12 +810,12 @@ class ClaimCommands(ClaimTestCase): self.assertEqual('1.0', claims[0]['received_tips']) self.assertEqual('1.2', claims[1]['received_tips']) - await self.support_abandon(stream1_id) + await self.support_abandon(claim_id=stream1_id) claims = await self.claim_list(include_received_tips=True) self.assertEqual('1.0', claims[0]['received_tips']) self.assertEqual('0.0', claims[1]['received_tips']) - await self.support_abandon(stream2_id) + await self.support_abandon(claim_id=stream2_id) claims = await self.claim_list(include_received_tips=True) self.assertEqual('0.0', claims[0]['received_tips']) self.assertEqual('0.0', claims[1]['received_tips']) diff --git a/tox.ini b/tox.ini index 12f06a8a8..77dde4ef9 100644 --- a/tox.ini +++ b/tox.ini @@ -10,8 +10,9 @@ passenv = TEST_DB commands = blockchain: coverage run -p --rcfile={toxinidir}/setup.cfg -m unittest -vv integration.blockchain.test_blockchain {posargs} + blockchain: coverage run -p --rcfile={toxinidir}/setup.cfg -m unittest -vv integration.commands.test_account {posargs} blockchain: coverage run -p --rcfile={toxinidir}/setup.cfg -m unittest -vv integration.service.test_daemon {posargs} - blockchain: coverage run -p --rcfile={toxinidir}/setup.cfg -m unittest -vv integration.service.test_claim_commands.ChannelCommands {posargs} + blockchain: coverage run -p --rcfile={toxinidir}/setup.cfg -m unittest -vv integration.service.test_light_client {posargs} #blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs} #datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs} #other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}