Package ATContentTypes :: Package Extensions :: Module batchCreate
[show private | hide private]
[frames | no frames]

Module ATContentTypes.Extensions.batchCreate

Function Summary
  batchCreate(self)
Creates a bunch of objects for testing purpose...

Variable Summary
str __author__ = 'Christian Heimes <ch@comlounge.net>'
str content_type = 'text/x-rst'
int DEPTH = 10                                                                    
str description = 'batch test'
str id = 'batch_%(type)s_%(no)d'
int OBJ_PER_FOLDER = 5                                                                     
str text = 'Lorem ipsum dolor sit amet\n====================...

Function Details

batchCreate(self)

Creates a bunch of objects for testing purpose

Variable Details

__author__

Type:
str
Value:
'Christian Heimes <ch@comlounge.net>'                                  

content_type

Type:
str
Value:
'text/x-rst'                                                           

DEPTH

Type:
int
Value:
10                                                                    

description

Type:
str
Value:
'batch test'                                                           

id

Type:
str
Value:
'batch_%(type)s_%(no)d'                                                

OBJ_PER_FOLDER

Type:
int
Value:
5                                                                     

text

Type:
str
Value:
'''Lorem ipsum dolor sit amet
==========================

consectetuer adipiscing elit, sed diam
nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat vo\
lutpat.
Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper s\
uscipit 
...                                                                    

Generated by Epydoc 2.1 on Wed Nov 30 03:58:10 2005 http://epydoc.sf.net