#NEWLINE# @ classmethod #NEWLINE# def _fixture( cls ) : #NEWLINE# #INDENT# mt1 = MachineType ( name = 'mt1' ) #NEWLINE# mt2 = MachineType ( name = 'mt2' ) #NEWLINE# return Company ( employees = [ Engineer ( name = 'e1' , machines = [ Machine ( name = 'm1' , type = mt1 ) , Machine ( name = 'm2' , type = mt2 ) ] ) , Engineer ( name = 'e2' , machines = [ Machine ( name = 'm3' , type = mt1 ) , Machine ( name = 'm4' , type = mt1 ) ] ) ] )