Logo Search packages:      
Sourcecode: ubuntuone-dev-tools version File versions  Download package

def ubuntuone::devtools::testcase::BaseTestCase::mktemp (   self,
  name = 'temp' 
) [inherited]
Customized mktemp that accepts an optional name argument.

Definition at line 156 of file testcase.py.

                                 :
        """Customized mktemp that accepts an optional name argument."""
        tempdir = os.path.join(self.tmpdir, name)
        if os.path.exists(tempdir):
            self.rmtree(tempdir)
        self.makedirs(tempdir)
        return tempdir


Generated by  Doxygen 1.6.0   Back to index