Skip to content

Commit

Permalink
tests: fix alembic test
Browse files Browse the repository at this point in the history
* the new names vocabulary isn't picked up by invenio-communities and
  needs to be imported manually to the test
  • Loading branch information
max-moser committed Jan 27, 2022
1 parent 44f0a72 commit c96f98d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/communities/alembic/test_alembic.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
# default. This means that when alembic creates the database vs when SQLAlchemy
# creates the database there's a discrepancy. Importing the subjects model
# here, ensures the model get's registered, and we avoid the discrepancy.
from invenio_vocabularies.contrib.names import models
from invenio_vocabularies.contrib.subjects import models


Expand Down

0 comments on commit c96f98d

Please sign in to comment.