def test_booleanfield_choices_blank(self):
        choices = [(1, 'Si'), (2, 'No')]
        f = models.BooleanField(choices=choices, default=1, null=False)
        self.assertEqual(f.formfield().choices, choices)
BooleanField with choices and defaults doesn't generate a formfield
dataset/ETHPy150Open django/django/tests/model_fields/test_booleanfield.py/BooleanFieldTests.test_booleanfield_choices_blank