sq Fix tests
This commit is contained in:
parent
7236203f1e
commit
d6c04d3586
2 changed files with 3 additions and 2 deletions
|
@ -59,7 +59,7 @@ class UnAuthCLIIntegrationTest(unittest.TestCase):
|
|||
yield self.daemon.start_listening()
|
||||
|
||||
def test_cli_status_command_with_auth(self):
|
||||
self.assertTrue(self.daemon._use_authentication)
|
||||
self.assertFalse(self.daemon._use_authentication)
|
||||
actual_output = StringIO()
|
||||
with contextlib.redirect_stdout(actual_output):
|
||||
cli.main(["status"])
|
||||
|
|
3
tox.ini
3
tox.ini
|
@ -18,5 +18,6 @@ commands =
|
|||
orchstr8 download
|
||||
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_transactions.BasicTransactionTest
|
||||
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.wallet.test_commands.EpicAdventuresOfChris45
|
||||
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.cli.test_cli
|
||||
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.cli.test_cli.AuthCLIIntegrationTest
|
||||
coverage run -p --source={envsitepackagesdir}/lbrynet -m twisted.trial --reactor=asyncio integration.cli.test_cli.UnAuthCLIIntegrationTest
|
||||
|
||||
|
|
Loading…
Reference in a new issue