              name="Third", slug="third-test", url="third")
  
          f = forms.ModelChoiceField(Category.objects.all())
          self.assertEqual(list(f.choices), [
              ('', '---------'),
              (self.c1.pk, 'Entertainment'),
              (self.c2.pk, "It's a test"),
              (self.c3.pk, 'Third')])
 
</s> remove             (c1.pk, 'Entertainment'),
            (c2.pk, "It's a test"),
            (c3.pk, 'Third'),
            (c4.pk, 'Fourth')])
        self.assertEqual(5, len(f.choices))
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')]) </s> remove         # ModelChoiceField ############################################################
 </s> add class ModelFieldsTests(TestCase):
    def create_categories(self):
        self.c1 = Category.objects.create(
            name="Entertainment", slug="entertainment", url="entertainment")
        self.c2 = Category.objects.create(
            name="It's a test", slug="its-test", url="test")
        self.c3 = Category.objects.create(
            name="Third", slug="third-test", url="third") </s> remove             (c1.pk, 'Entertainment'),
            (c2.pk, "It's a test"),
            (c3.pk, 'Third'),
            (c4.pk, 'Fourth')])
 </s> add             (self.c1.pk, 'Entertainment'),
            (self.c2.pk, "It's a test"),
            (self.c3.pk, 'Third')]) </s> remove             (c1.pk, 'category Entertainment'),
            (c2.pk, "category It's a test"),
            (c3.pk, 'category Third'),
            (c4.pk, 'category Fourth')])

        # ModelMultipleChoiceField ####################################################
 </s> add             (self.c1.pk, 'category Entertainment'),
            (self.c2.pk, "category It's a test"),
            (self.c3.pk, 'category Third')])
    # ModelChoiceField ############################################################
    def test_modelchoicefield(self):
        self.create_categories()
              name="Third", slug="third-test", url="third")
  
    # ModelChoiceField ############################################################
    def test_modelchoicefield(self):
        self.create_categories()
          f = forms.ModelChoiceField(Category.objects.all())
          self.assertEqual(list(f.choices), [
              ('', '---------'),
              (self.c1.pk, 'Entertainment'),
              (self.c2.pk, "It's a test"),
              (self.c3.pk, 'Third')])
keep add keep keep keep keep keep keep
 Fixed #6103 -- Splitted tests in model_forms tests 
tests/model_forms/tests.py