          self.assertEqual(len(form.errors), 1)
          self.assertEqual(form.errors['posted'], ['This field is required.'])
  
      def test_unique_for_date_in_exclude(self):
          """If the date for unique_for_* constraints is excluded from the
          ModelForm (in this case 'posted' has editable=False, then the
          constraint should be ignored."""
          DateTimePost.objects.create(title="Django 1.0 is released",
              slug="Django 1.0", subtitle="Finally",
              posted=datetime.datetime(2008, 9, 3, 10, 10, 1))
 
</s> remove         constraint should be ignored."""
 </s> add         constraint should be ignored.
        """
        class DateTimePostForm(forms.ModelForm):
            class Meta:
                model = DateTimePost
                fields = '__all__'
 </s> remove         self.assertEqual(form.is_valid(), True)
 </s> add         self.assertTrue(form.is_valid()) </s> remove         self.assertEqual(f.is_valid(), True)
 </s> add         self.assertTrue(f.is_valid())
        """
        If the date for unique_for_* constraints is excluded from the
          self.assertEqual(len(form.errors), 1)
          self.assertEqual(form.errors['posted'], ['This field is required.'])
  
      def test_unique_for_date_in_exclude(self):
        """
        If the date for unique_for_* constraints is excluded from the
          ModelForm (in this case 'posted' has editable=False, then the
          constraint should be ignored."""
          DateTimePost.objects.create(title="Django 1.0 is released",
              slug="Django 1.0", subtitle="Finally",
              posted=datetime.datetime(2008, 9, 3, 10, 10, 1))
keep keep keep keep replace keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py