@@ -209,10 +209,10 @@ def test_post_only_main_goal(self):
209209
210210 self .assertEqual (responses .count (), 0 )
211211 self .assertEqual (r .status_code , 200 )
212- self .assertFormsetError (
212+ self .assertFormSetError (
213213 r , 'checkin_formset' , 1 , 'i_will_do_this' ,
214214 'This field is required.' )
215- self .assertFormsetError (
215+ self .assertFormSetError (
216216 r , 'checkin_formset' , 2 , 'i_will_do_this' ,
217217 'This field is required.' )
218218
@@ -253,7 +253,7 @@ def test_post_invalid(self):
253253 self .assertEqual (responses .count (), 0 )
254254
255255 self .assertEqual (r .status_code , 200 )
256- self .assertFormsetError (
256+ self .assertFormSetError (
257257 r , 'checkin_formset' , 0 , 'i_will_do_this' ,
258258 'This field is required.' )
259259
@@ -291,7 +291,7 @@ def test_post_in_progress_makes_dropdown_required(self):
291291 self .assertEqual (responses .count (), 0 )
292292
293293 self .assertEqual (r .status_code , 200 )
294- self .assertFormsetError (
294+ self .assertFormSetError (
295295 r , 'checkin_formset' , 0 , 'what_got_in_the_way' ,
296296 'This field is required.' )
297297
@@ -329,7 +329,7 @@ def test_post_other_text_is_required(self):
329329 self .assertEqual (responses .count (), 0 )
330330
331331 self .assertEqual (r .status_code , 200 )
332- self .assertFormsetError (
332+ self .assertFormSetError (
333333 r , 'checkin_formset' , 0 , 'other' , 'This field is required.' )
334334
335335 def test_post_other_text_is_saved (self ):
@@ -566,10 +566,10 @@ def test_post_invalid(self):
566566
567567 self .assertEqual (r .status_code , 200 )
568568 self .assertEqual (GoalSettingResponse .objects .count (), 0 )
569- self .assertFormsetError (
569+ self .assertFormSetError (
570570 r , 'setting_formset' , 0 , 'option' ,
571571 'This field is required.' )
572- self .assertFormsetError (
572+ self .assertFormSetError (
573573 r , 'setting_formset' , 0 , 'text' ,
574574 'This field is required.' )
575575
@@ -614,7 +614,7 @@ def test_post_other_option_makes_other_text_required(self):
614614 self .assertEqual (r .status_code , 200 )
615615 self .assertContains (r , 'This field is required.' )
616616 self .assertEqual (GoalSettingResponse .objects .count (), 0 )
617- self .assertFormsetError (
617+ self .assertFormSetError (
618618 r , 'setting_formset' , 0 , 'other_text' , 'This field is required.' )
619619
620620 def test_post_valid_with_other_option (self ):
0 commit comments