def METHOD_NAME(self):
    """
    Tests that the migration files are in sync with the models.
    If this fails, you needs to run the Django command makemigrations.
    The test is set up to override MIGRATION_MODULES to ensure migrations are
    enabled for purposes of this test regardless of the overall test settings.
    TODO: Find a general way of handling the case where if we're trying to
    make a migrationless release that'll require a separate migration
    release afterwards, this test doesn't fail.
    """
    out = StringIO()
    call_command("makemigrations", dry_run=True, verbosity=3, stdout=out)
    output = out.getvalue()
    assert 'No changes detected' in output