#NEWLINE# def setUp( self ) : #NEWLINE# #INDENT# t1 = Tag . objects . create ( name = 't1' ) #NEWLINE# t2 = Tag . objects . create ( name = 't2' , parent = t1 ) #NEWLINE# t3 = Tag . objects . create ( name = 't3' , parent = t1 ) #NEWLINE# t4 = Tag . objects . create ( name = 't4' , parent = t3 ) #NEWLINE# t5 = Tag . objects . create ( name = 't5' , parent = t3 ) #NEWLINE# p1_o1 = Staff . objects . create ( id = 1 , name = 'p1' , organisation = 'o1' ) #NEWLINE# p2_o1 = Staff . objects . create ( id = 2 , name = 'p2' , organisation = 'o1' ) #NEWLINE# p3_o1 = Staff . objects . create ( id = 3 , name = 'p3' , organisation = 'o1' ) #NEWLINE# p1_o2 = Staff . objects . create ( id = 4 , name = 'p1' , organisation = 'o2' ) #NEWLINE# p1_o1 . coworkers . add ( p2_o1 , p3_o1 ) #NEWLINE# StaffTag . objects . create ( staff = p1_o1 , tag = t1 ) #NEWLINE# StaffTag . objects . create ( staff = p1_o1 , tag = t1 ) #NEWLINE# celeb1 = Celebrity . objects . create ( name = 'c1' ) #NEWLINE# celeb2 = Celebrity . objects . create ( name = 'c2' ) #NEWLINE# self . fan1 = Fan . objects . create ( fan_of = celeb1 ) #NEWLINE# self . fan2 = Fan . objects . create ( fan_of = celeb1 ) #NEWLINE# self . fan3 = Fan . objects . create ( fan_of = p1_o2 )