def makeConfFileSystem(self, text): """ Create a temporary file instance and returns a FileSystem with it. """ self._testfile = makeTempFile(text) fsconf = FileSystem.create_from_model(self._testfile.name) return fsconf
def makeConfFileSystem(self, text): """ Create a temporary file instance and returns a FileSystem with it. """ self._testfile = makeTempFile(text) fsconf = FileSystem.create_from_model(self._testfile.name) return fsconf
def create_from_model(cls, lmf, update_mode=False): conf = Configuration() conf._fs = FileSystem.create_from_model(lmf, update_mode=update_mode) return conf
def create_from_model(cls, lmf, update_mode=False): conf = Configuration() conf._fs = FileSystem.create_from_model(lmf, update_mode=update_mode) return conf