From da3514c470486a3351864229f2a691cfb210cbe7 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Tue, 19 May 2020 20:29:58 +0200 Subject: [PATCH 3/3] tox.ini: allow running inside pg_virtualenv (#43108) Used to test with very few locks : pg_virtualenv -o max_locks_per_transaction=10 tox --- tox.ini | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tox.ini b/tox.ini index ca0f44a..0487fe8 100644 --- a/tox.ini +++ b/tox.ini @@ -12,6 +12,13 @@ usedevelop = true setenv = coverage: COVERAGE=--junit-xml=junit.xml --cov=wcs_olap --cov-report xml --cov-report html WCS_MANAGE=wcs/manage.py + PGDATABASE=postgres +passenv= + # support for pg_virtualenv + PGPORT + PGHOST + PGUSER + PGPASSWORD deps = coverage pytest -- 2.26.2