#NEWLINE# def test_one_to_one_prefetch_related( self ) : #NEWLINE# #INDENT# with self . assertNumQueries ( 2 ) : #NEWLINE# #INDENT# style = PoolStyle . objects . prefetch_related ( 'pool' ) . get ( pk = 1 ) #NEWLINE# pool = style . pool #NEWLINE# self . assertIs ( style , pool . poolstyle )