Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes | Static Private Attributes
unit-expandlibs.TestCaseWithTmpDir Class Reference
Inheritance diagram for unit-expandlibs.TestCaseWithTmpDir:
Inheritance graph

List of all members.

Public Member Functions

def init
def cleanup
def touch
def tmpfile

Public Attributes


Static Private Attributes

 __metaclass__ = ReplicateTests

Detailed Description

Definition at line 121 of file

Member Function Documentation

def unit-expandlibs.TestCaseWithTmpDir.cleanup (   self)

Definition at line 126 of file

00127     def cleanup(self):
00128         rmtree(self.tmpdir)

def unit-expandlibs.TestCaseWithTmpDir.init (   self)

Reimplemented in unit-expandlibs.TestExpandInit.

Definition at line 123 of file

00124     def init(self):
00125         self.tmpdir = os.path.abspath(mkdtemp(dir=os.curdir))

def unit-expandlibs.TestCaseWithTmpDir.tmpfile (   self,

Definition at line 133 of file

00134     def tmpfile(self, *args):
00135         return os.path.join(self.tmpdir, *args)

Here is the caller graph for this function:

def unit-expandlibs.TestCaseWithTmpDir.touch (   self,

Definition at line 129 of file

00130     def touch(self, files):
00131         for f in files:
00132             open(f, 'w').close()

Here is the caller graph for this function:

Member Data Documentation

unit-expandlibs.TestCaseWithTmpDir.__metaclass__ = ReplicateTests [static, private]

Definition at line 122 of file


Definition at line 124 of file

The documentation for this class was generated from the following file: