server/tests: use postgresql test database

This commit is contained in:
Shyam Sunder
2020-03-06 18:14:16 -05:00
parent e19d7041d1
commit 0e6427d8bc
10 changed files with 21 additions and 57 deletions

View File

@ -13,10 +13,12 @@ USER root
RUN apk --no-cache add \
py3-pytest \
py3-pytest-cov \
postgresql \
&& \
pip3 install \
--no-cache-dir \
--disable-pip-version-check \
pytest-pgsql \
freezegun
USER app
ENV POSTGRES_HOST=x \