def METHOD_NAME(self, m_input):
    m_input.return_value = None
    class NameModel(models.Model):
        created_at = models.DateTimeField(auto_now_add=True)
        name = models.CharField(max_length=50)
        class Meta:
            app_label = 'testapp_with_appconfig'
    call_command('makemigrations', 'testapp_with_appconfig')
    call_command('squashmigrations', 'testapp_with_appconfig', '0002', '--noinput')
    call_command('delete_squashed_migrations', 'testapp_with_appconfig')
    self.assertTrue(self.migration_exists('0001_initial.py'))
    self.assertTrue(self.migration_exists('0002_namemodel.py'))
    self.assertTrue(self.migration_exists('0001_squashed_0002_namemodel.py'))