#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# child = { #NEWLINE# #INDENT# 'id' : ObjectId ( ) , #NEWLINE# 'atime' : datetime . now ( ) , #NEWLINE# 'number' : 10 , #NEWLINE# 'name' : 'hello world' , #NEWLINE# 'mail' : None , #NEWLINE# #UNINDENT# } #NEWLINE# self . record = { #NEWLINE# #INDENT# 'id' : ObjectId ( ) , #NEWLINE# 'atime' : datetime . now ( ) , #NEWLINE# 'number' : 10 , #NEWLINE# 'name' : 'hello world' , #NEWLINE# 'child' : child , #NEWLINE# 'childs' : [ copy . deepcopy ( child ) for i in xrange ( 3 ) ] , #NEWLINE# #UNINDENT# } #NEWLINE# self . values = [ copy . deepcopy ( self . record ) for i in xrange ( 3 ) ]