#NEWLINE# def _create_locations( self ) : #NEWLINE# #INDENT# loc1 = Location . objects . create ( name = 'Location1' , data = { #NEWLINE# #INDENT# 'prop1' : '1' , #NEWLINE# 'prop2' : 'test_value' , #NEWLINE# #UNINDENT# } , point = loc2 . pnt1 ) #NEWLINE# loc2 = Location . objects . create ( name = 'Location2' , data = { #NEWLINE# #INDENT# 'prop1' : '2' , #NEWLINE# 'prop2' : 'test_value' , #NEWLINE# #UNINDENT# } , point = self . pnt2 ) #NEWLINE# return ( loc1 , loc2 )