Skip to content

Commit

Permalink
Try calling init_db later.
Browse files Browse the repository at this point in the history
  • Loading branch information
zenhack committed Dec 30, 2016
1 parent b1d7dee commit 852341a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/migrations.py
Expand Up @@ -106,7 +106,6 @@ def configure():
config_testsuite()
if not cfg.get('database', 'uri').startswith('postgresql:'):
pytest.skip('Database migrations are only supported for postgresql.')
init_db()


def load_dump(filename):
Expand Down Expand Up @@ -214,6 +213,7 @@ def test_db_eq(filename, make_objects, extra_config):

config_merge(extra_config)
load_extensions()
init_db()
server.register_drivers()
server.validate_state()

Expand Down

0 comments on commit 852341a

Please sign in to comment.