Commit 60164497 authored by Nicolas Joyard's avatar Nicolas Joyard

Run migrations before import tests

parent 046b8e71
......@@ -12,6 +12,7 @@ commands =
pip install -Ue {toxinidir}[testing]
{toxinidir}/src/memopol/bin/install_client_deps.sh
py.test src/
memopol migrate
bash -c 'cat src/representatives/contrib/francedata/tests/representatives_input.json | francedata_import_representatives'
bash -c 'cat src/representatives/contrib/parltrack/tests/representatives_fixture.json | parltrack_import_representatives'
bash -c 'cat src/representatives_votes/contrib/francedata/tests/dossiers_input.json | francedata_import_dossiers'
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment