#NEWLINE# def test_many_to_many_reverse_no_related_name( self , objects , calls ) : #NEWLINE# #INDENT# pet = models . Pet . objects . first ( ) #NEWLINE# pet . allergy_set . first ( ) #NEWLINE# assert ( len ( calls ) == 1 ) #NEWLINE# call = calls [ 0 ] #NEWLINE# assert ( call . objects == ( models . Pet , 'Pet:1' , 'allergy_set' ) ) #NEWLINE# assert ( 'pet.allergy_set' in '' . join ( call . frame [ 4 ] ) )