Commit cf3db8a5 authored by Nicolas Joyard's avatar Nicolas Joyard

Use bash to call import scripts

parent 4f7f978c
......@@ -12,13 +12,13 @@ commands =
pip install -Ue {toxinidir}[testing]
{toxinidir}/src/memopol/bin/install_client_deps.sh
py.test src/
cat src/representatives/contrib/francedata/tests/representatives_input.json | francedata_import_representatives
cat src/representatives/contrib/parltrack/tests/representatives_fixture.json | parltrack_import_representatives
cat src/representatives_votes/contrib/francedata/tests/dossiers_input.json | francedata_import_dossiers
cat src/representatives_votes/contrib/francedata/tests/scrutins_input.json | francedata_import_scrutins
cat src/representatives_votes/contrib/francedata/tests/votes_input.json | francedata_import_votes
cat src/representatives_votes/contrib/parltrack/tests/dossiers_fixture.json | parltrack_import_dossiers
cat src/representatives_votes/contrib/parltrack/tests/votes_fixture.json | parltrack_import_votes
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'
bash -c 'cat src/representatives_votes/contrib/francedata/tests/scrutins_input.json | francedata_import_scrutins'
bash -c 'cat src/representatives_votes/contrib/francedata/tests/votes_input.json | francedata_import_votes'
bash -c 'cat src/representatives_votes/contrib/parltrack/tests/dossiers_fixture.json | parltrack_import_dossiers'
bash -c 'cat src/representatives_votes/contrib/parltrack/tests/votes_fixture.json | parltrack_import_votes'
whitelist_externals =
psql
......
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