Skip to content

Commit

Permalink
Add framework for migration tests in SQLAlchemy (#2392)
Browse files Browse the repository at this point in the history
Add a framework for testing migrations in SQLAlchemy/Alembic and
ports one test from Django, also to act as an example and to verify
that the migration testing is properly working.

Also removed old files that were running some tests but actually were just
running on a set of example migrations and not on those of AiiDA.
  • Loading branch information
giovannipizzi authored and sphuber committed Jan 16, 2019
1 parent a2456ab commit 487c112
Show file tree
Hide file tree
Showing 8 changed files with 213 additions and 214 deletions.
3 changes: 0 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@
aiida/backends/sqlalchemy/queries.py|
aiida/backends/sqlalchemy/tests/generic.py|
aiida/backends/sqlalchemy/tests/__init__.py|
aiida/backends/sqlalchemy/tests/migrations.py|
aiida/backends/sqlalchemy/tests/migration_test/versions/470e57bc0936_create_account_table.py|
aiida/backends/sqlalchemy/tests/migration_test/versions/b947a8821295_add_a_column.py|
aiida/backends/sqlalchemy/tests/nodes.py|
aiida/backends/sqlalchemy/tests/query.py|
aiida/backends/sqlalchemy/tests/schema.py|
Expand Down
9 changes: 0 additions & 9 deletions aiida/backends/sqlalchemy/tests/migration_test/__init__.py

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 487c112

Please sign in to comment.