'Non-interactive makemigrations fails when a default is missing on a
new not-null field.'

def test_makemigrations_non_interactive_not_null_addition(self):

    class SillyModel(models.Model, ):
        silly_field = models.BooleanField(default=False)
        silly_int = models.IntegerField()
        class Meta:
            app_label = 'migrations'
    out = io.StringIO()
    with self.assertRaises(SystemExit):
        with self.temporary_migration_module(module='migrations.test_migrations_no_default'):
            call_command('makemigrations', 'migrations', interactive=False, stdout=out)
