#NEWLINE# def test_max_applications_is_correct_when_equal_applications( self ) : #NEWLINE# #INDENT# order = create_order ( user = self . user ) #NEWLINE# OrderDiscountFactory ( order = self , offer_id = self . offer . id , frequency = 1 ) #NEWLINE# self . assertEqual ( 0 , self . offer . get_max_applications ( self . user ) )