@@ -353,15 +353,12 @@ def test_history_form_view_without_getting_history(self):
353
353
'original' : poll ,
354
354
'change_history' : False ,
355
355
356
- 'title' : 'Revert {}' . format ( force_text (poll ) ),
356
+ 'title' : 'Revert %s' % force_text (poll ),
357
357
'adminform' : ANY ,
358
358
'object_id' : poll .id ,
359
359
'is_popup' : False ,
360
360
'media' : ANY ,
361
- 'errors' : [
362
- '<ul class="errorlist"><li>This field is required.</li></ul>' ,
363
- '<ul class="errorlist"><li>This field is required.</li></ul>'
364
- ],
361
+ 'errors' : ANY ,
365
362
'app_label' : 'tests' ,
366
363
'original_opts' : ANY ,
367
364
'changelist_url' : '/admin/tests/poll/' ,
@@ -412,15 +409,12 @@ def test_history_form_view_getting_history(self):
412
409
'original' : history ,
413
410
'change_history' : True ,
414
411
415
- 'title' : 'Revert {}' . format ( force_text (history ) ),
412
+ 'title' : 'Revert %s' % force_text (history ),
416
413
'adminform' : ANY ,
417
414
'object_id' : poll .id ,
418
415
'is_popup' : False ,
419
416
'media' : ANY ,
420
- 'errors' : [
421
- '<ul class="errorlist"><li>This field is required.</li></ul>' ,
422
- '<ul class="errorlist"><li>This field is required.</li></ul>'
423
- ],
417
+ 'errors' : ANY ,
424
418
'app_label' : 'tests' ,
425
419
'original_opts' : ANY ,
426
420
'changelist_url' : '/admin/tests/poll/' ,
@@ -471,15 +465,12 @@ def test_history_form_view_getting_history_with_setting_off(self):
471
465
'original' : poll ,
472
466
'change_history' : False ,
473
467
474
- 'title' : 'Revert {}' . format ( force_text (poll ) ),
468
+ 'title' : 'Revert %s' % force_text (poll ),
475
469
'adminform' : ANY ,
476
470
'object_id' : poll .id ,
477
471
'is_popup' : False ,
478
472
'media' : ANY ,
479
- 'errors' : [
480
- '<ul class="errorlist"><li>This field is required.</li></ul>' ,
481
- '<ul class="errorlist"><li>This field is required.</li></ul>'
482
- ],
473
+ 'errors' : ANY ,
483
474
'app_label' : 'tests' ,
484
475
'original_opts' : ANY ,
485
476
'changelist_url' : '/admin/tests/poll/' ,
0 commit comments