def test_create_log_for_stdout(self):
        opts = FakeOptions(app_path="/some/path", no_daemon=True, stdout=True, debug=None, chroot=None)
        with patch('logging.StreamHandler'):
            cli = Cli()
            cli._set_loggers(opts)
            self.assertEquals(1, logging.StreamHandler.call_count)
When we pass --stdout all logs must be pointed to stdout.
dataset/ETHPy150Open daltonmatos/wsgid/tests/unit/cli_test.py/CliTest.test_create_log_for_stdout