def test_daemon_should_create_normal_logs(self):
        opts = FakeOptions(app_path="/some/path", no_daemon=True, stdout=False, debug=None, chroot=None)
        with patch('logging.FileHandler'):
            cli = Cli()
            cli._set_loggers(opts)
            self.assertEquals(1, logging.FileHandler.call_count)
            self.assertEquals((("/some/path/logs/wsgid.log",), {}), logging.FileHandler.call_args)
Redirects to the url rule given or back to the URL where we are
dataset/ETHPy150Open daltonmatos/wsgid/tests/unit/cli_test.py/CliTest.test_daemon_should_create_normal_logs--crossover with--dataset/ETHPy150Open mitsuhiko/fungiform/fungiform/forms.py/FormBase.redirect