'MIGRATION_MODULES allows disabling of migrations for a particular app.'

@override_settings(INSTALLED_APPS=['migrations.migrations_test_apps.migrated_app'], MIGRATION_MODULES={'migrated_app': None})
def test_marked_as_unmigrated(self):

    migration_loader = MigrationLoader(connection)
    self.assertEqual(migration_loader.migrated_apps, set())
    self.assertEqual(migration_loader.unmigrated_apps, {'migrated_app'})
