def test_logdir(self):
        bot = self.callFTU('-dr', 'tests/test.ini', '--logdir=' + self.wd)
        self.assertEqual(
            bot.logging_config['handlers']['console']['formatter'], 'file')
        self.assertTrue(self.Task.called)
dataset/ETHPy150Open gawel/irc3/tests/test_run.py/TestRun.test_logdir/original