  
  
  class ExecutorTests(MigrationTestBase):
      """
      Tests the migration executor (full end-to-end running).
  
      Bear in mind that if these are failing you should fix the other
      test failures first, as they may be propagating into here.
 
</s> remove     available_apps = ["migrations", "django.contrib.sessions"]
 </s> add     available_apps = ["migrations", "migrations2"] </s> remove         # We use 'sessions' here as the second app as it's always present
        # in INSTALLED_APPS, so we can happily assign it test migrations.
 </s> add  </s> remove     @override_settings(MIGRATION_MODULES={"migrations": "migrations.test_migrations", "sessions": "migrations.test_migrations_2"})
 </s> add     @override_settings(MIGRATION_MODULES={
        "migrations": "migrations.test_migrations",
        "migrations2": "migrations2.test_migrations_2",
    }) </s> remove from django.test import override_settings
 </s> add from django.test import modify_settings, override_settings </s> remove         plan = executor.migration_plan([("migrations", "0002_second"), ("sessions", "0001_initial")])
 </s> add         plan = executor.migration_plan([
            ("migrations", "0002_second"),
            ("migrations2", "0001_initial"),
        ])
@modify_settings(INSTALLED_APPS={'append': 'migrations2'})
  
  
@modify_settings(INSTALLED_APPS={'append': 'migrations2'})
  class ExecutorTests(MigrationTestBase):
      """
      Tests the migration executor (full end-to-end running).
  
      Bear in mind that if these are failing you should fix the other
      test failures first, as they may be propagating into here.
keep add keep keep keep keep keep keep
 Removed usaged of contrib.sessions as a placeholder in migration tests.

Without this, we're unable to add actual migrations for the app. 
tests/migrations/test_executor.py