From d6c04d358686eba7431526655e45a7cd8b2032fd Mon Sep 17 00:00:00 2001 From: hackrush Date: Wed, 15 Aug 2018 18:24:44 +0530 Subject: [PATCH] sq Fix tests --- tests/integration/cli/test_cli.py | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/integration/cli/test_cli.py b/tests/integration/cli/test_cli.py index f9ffd107f..5a7bfad3b 100644 --- a/tests/integration/cli/test_cli.py +++ b/tests/integration/cli/test_cli.py @@ -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"]) diff --git a/tox.ini b/tox.ini index 38d8125b2..c2e00daed 100644 --- a/tox.ini +++ b/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