use sqlalchemy hooks rather than pyscopg2

seems to play nicer with docker?
This commit is contained in:
Leo Hemsted
2017-08-24 13:54:16 +01:00
parent 3d4dbaa632
commit 2fefe8a957
2 changed files with 17 additions and 13 deletions

View File

@@ -30,6 +30,6 @@ fi
pycodestyle .
display_result $? 1 "Code style check"
# run with six concurrent threads
py.test --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml -n 6
# run with four concurrent threads
py.test --cov=app --cov-report=term-missing tests/ --junitxml=test_results.xml -n 4
display_result $? 2 "Unit tests"