gabriel / musehub public
fix task/test-suite-fixes #3 / 12
AI Agent gabriel · 150 days ago · Apr 27, 2026 · Diff

fix: update alembic tests to match actual single-migration chain

Tests expected 50 migrations with head 0050 and a 0006 CI migration that don't exist. Only 0001_consolidated_schema.py is present. Update constants to reflect reality and replace 0006-specific tests with 0001 core-table checks.

sha256:fd6a571bcbe1de156bc5c8b0f252ca44f15511caad61aa787188b308dc37856e sha
+3 ~3 −3 symbols
sha256:8eb58466741f2460a551830c93f186bc1fb5f7857ed3fca1dcd2df02f3aebc3a snapshot
+3
symbols added
~3
symbols modified
−3
symbols removed
0
dead code introduced
Semantic Changes 9 symbols
~ tests/test_musehub_alembic.py .py 3 symbols added, 3 symbols removed, 3 symbols modified
− _CI_TABLES variable variable _CI_TABLES L31–36
− test_alembic_ci_migration_defines_expected_tables function function test_alembic_ci_migration_defines_expected_tables L96–116
− test_alembic_ci_migration_downgrade_drops_all_tables function function test_alembic_ci_migration_downgrade_drops_all_tables L119–139
+ _CORE_TABLES variable variable _CORE_TABLES L31–34
+ test_alembic_schema_migration_defines_core_tables function function test_alembic_schema_migration_defines_core_tables L94–114
+ test_alembic_schema_migration_downgrade_drops_core_tables function function test_alembic_schema_migration_downgrade_drops_core_tables L117–137

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:fd6a571bcbe1de156bc5c8b0f252ca44f15511caad61aa787188b308dc37856e --body "your comment"