def makeFile(self, relativePath, content):
        baseDirectory = FilePath(self.mktemp())
        directory, filename = os.path.split(relativePath)
        directory = baseDirectory.preauthChild(directory)
        file = directory.child(filename)
        directory.child(filename).setContent(content)
        return file
Create a file with the given content relative to a temporary directory.
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_release.py/ChangeVersionTests.makeFile