Package moul :: Package file :: Package tests :: Module utils
[hide private]
[frames] | no frames]

Module utils



test helpers

Functions [hide private]
  fakeLogdir(path)
Create a fake logdir
  fakeUruPersonalDataDir(path)
Create a fake Uru Live personal data directory
  fakeUruGameDir(path)
Create a fake Uru Live game directory
  mkTempdir()
Make a temporary directory
  rmTempdir(d)
Remove a temporary directory

Variables [hide private]
  __author__ = 'Christian Heimes'
  __version__ = '$Id: utils.py 122 2007-02-02 17:34:06Z tiran $'
  __revision__ = '$Revision: 122 $'
  FILE_LIST = ['audio.0.elf', 'audiocaps.0.elf', 'audioTimes.0.elf...
  CHATLOG = '(01/02 03:04:05) Chat.log started...\n(01/02 03:04:...
  base = '/home/heimes/dev/pymoul/pymoul/src/moul/file/tests'

Function Details [hide private]

fakeLogdir(path)

 
Create a fake logdir

fakeUruPersonalDataDir(path)

 
Create a fake Uru Live personal data directory

fakeUruGameDir(path)

 
Create a fake Uru Live game directory

mkTempdir()

 
Make a temporary directory

rmTempdir(d)

 
Remove a temporary directory

Variables Details [hide private]

__author__

None
Value:
'Christian Heimes'                                                     
      

__version__

None
Value:
'$Id: utils.py 122 2007-02-02 17:34:06Z tiran $'                       
      

__revision__

None
Value:
'$Revision: 122 $'                                                     
      

FILE_LIST

None
Value:
['audio.0.elf',
 'audiocaps.0.elf',
 'audioTimes.0.elf',
 'Avatar.0.elf',
 'impacts.0.elf',
 'LocalizationDataMgr.0.elf',
 'Marker.0.elf',
 'NetScreener.0.elf',
...                                                                    
      

CHATLOG

None
Value:
'''(01/02 03:04:05) Chat.log started...
(01/02 03:04:06)  Testuser: foo
(01/02 03:04:07) ...Chat.log stopped.
'''                                                                    
      

base

None
Value:
'/home/heimes/dev/pymoul/pymoul/src/moul/file/tests'