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
Exemplo n.º 2
0
 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
Exemplo n.º 3
0
 def create_from_model(cls, lmf, update_mode=False):
     conf = Configuration()
     conf._fs = FileSystem.create_from_model(lmf, update_mode=update_mode)
     return conf
Exemplo n.º 4
0
 def create_from_model(cls, lmf, update_mode=False):
     conf = Configuration()
     conf._fs = FileSystem.create_from_model(lmf, update_mode=update_mode)
     return conf