#NEWLINE# def test_only_dupes_is_invalid( self ) : #NEWLINE# #INDENT# product = create_product ( partner_sku = '123123' ) #NEWLINE# self . range . add_product ( product ) #NEWLINE# form = self . submit_form ( { #NEWLINE# #INDENT# 'query' : '123123' , #NEWLINE# #UNINDENT# } ) #NEWLINE# self . assertFalse ( form . is_valid ( ) )