assert integration test is actually using authentication
This commit is contained in:
parent
2590523fa1
commit
49c659b832
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ class AuthCLIIntegrationTest(unittest.TestCase):
|
|||
yield self.daemon.start_listening()
|
||||
|
||||
def test_cli_status_command_with_auth(self):
|
||||
self.assertTrue(self.daemon._use_authentication)
|
||||
actual_output = StringIO()
|
||||
with contextlib.redirect_stdout(actual_output):
|
||||
cli.main(["status"])
|
||||
|
|
Loading…
Add table
Reference in a new issue