'The parent directory is created if it doesn\'t already exist.'

def test_file_logging_makedirs(self):

    logfile = FilePath(self.mktemp()).child('foo.log')
    d = self.run_script(EliotScript, options=['--logfile', logfile.path])
    d.addCallback(self._assert_logfile_messages, logfile=logfile)
    return d
