Back to index

enigmail  1.4.3
Public Member Functions | Public Attributes
unit-expandlibs.SubprocessPopen Class Reference

List of all members.

Public Member Functions

def __init__
def __call__

Public Attributes

 test

Detailed Description

Definition at line 296 of file unit-expandlibs.py.


Constructor & Destructor Documentation

def unit-expandlibs.SubprocessPopen.__init__ (   self,
  test 
)

Definition at line 297 of file unit-expandlibs.py.

00297 
00298     def __init__(self, test):
00299         self.test = test


Member Function Documentation

def unit-expandlibs.SubprocessPopen.__call__ (   self,
  args,
  stdout = None,
  stderr = None 
)

Definition at line 300 of file unit-expandlibs.py.

00300 
00301     def __call__(self, args, stdout = None, stderr = None):
00302         self.test.assertEqual(stdout, subprocess.PIPE)
00303         self.test.assertEqual(stderr, subprocess.PIPE)
00304         if args[0] == 'objdump':
00305             self.test.assertEqual(args[1], '-t')
00306             self.test.assertTrue(args[2] in OBJDUMPS)
00307             return FakeProcess(OBJDUMPS[args[2]])
00308         else:
00309             return FakeProcess('', PRINT_ICF)


Member Data Documentation

unit-expandlibs.SubprocessPopen.test

Definition at line 298 of file unit-expandlibs.py.


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