  from django.db import connection
  from django.db.migrations.executor import MigrationExecutor
  from django.test import override_settings
  
  from .test_base import MigrationTestBase
  
  
  class ExecutorTests(MigrationTestBase):
 
</s> remove         executor.recorder.record_unapplied("sessions", "0001_initial")
 </s> add         executor.recorder.record_unapplied("migrations2", "0001_initial") </s> remove         plan = executor.migration_plan([("migrations", "0002_second"), ("sessions", "0001_initial")])
 </s> add         plan = executor.migration_plan([
            ("migrations", "0002_second"),
            ("migrations2", "0001_initial"),
        ]) </s> remove         executor.migrate([("migrations", "0002_second"), ("sessions", "0001_initial")], fake=True)
 </s> add         executor.migrate([
            ("migrations", "0002_second"),
            ("migrations2", "0001_initial")
        ], fake=True) </s> remove                 (executor.loader.graph.nodes["sessions", "0001_initial"], False),
 </s> add                 (executor.loader.graph.nodes["migrations2", "0001_initial"], False),
from django.test import modify_settings, override_settings
  from django.db import connection
  from django.db.migrations.executor import MigrationExecutor
from django.test import modify_settings, override_settings
  
  from .test_base import MigrationTestBase
  
  
  class ExecutorTests(MigrationTestBase):
keep keep replace 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