sq Fix tests

This commit is contained in:
hackrush 2018-08-15 18:24:44 +05:30 committed by Jack Robison
parent 7236203f1e
commit d6c04d3586
No known key found for this signature in database
GPG key ID: DF25C68FE0239BB2
2 changed files with 3 additions and 2 deletions

View file

@ -59,7 +59,7 @@ class UnAuthCLIIntegrationTest(unittest.TestCase):
yield self.daemon.start_listening() yield self.daemon.start_listening()
def test_cli_status_command_with_auth(self): def test_cli_status_command_with_auth(self):
self.assertTrue(self.daemon._use_authentication) self.assertFalse(self.daemon._use_authentication)
actual_output = StringIO() actual_output = StringIO()
with contextlib.redirect_stdout(actual_output): with contextlib.redirect_stdout(actual_output):
cli.main(["status"]) cli.main(["status"])

View file

@ -18,5 +18,6 @@ commands =
orchstr8 download 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_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.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