#NEWLINE# @ pytest . fixture #NEWLINE# def objects( ) : #NEWLINE# #INDENT# user = models . User . objects . create ( ) #NEWLINE# user2 = models . User . objects . create ( ) #NEWLINE# pet = models . Pet . objects . create ( user = user ) #NEWLINE# pet2 = models . Pet . objects . create ( user = user2 ) #NEWLINE# allergy = models . Allergy . objects . create ( ) #NEWLINE# allergy . pets . add ( pet ) #NEWLINE# occupation = models . Occupation . objects . create ( user = user ) #NEWLINE# address = models . Address . objects . create ( user = user2 ) #NEWLINE# hobby = models . Hobby . objects . create ( ) #NEWLINE# user . hobbies . add ( hobby ) #NEWLINE# return locals ( )