Unverified Commit 21e09dce authored by Sizhe Zhao's avatar Sizhe Zhao
Browse files

python3Packages.django-auditlog: fix tests

parent 8f4ca275
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -50,11 +50,13 @@ buildPythonPackage rec {
  checkPhase = ''
    runHook preCheck

    cd auditlog_tests
    # strip escape codes otherwise tests fail
    # see https://github.com/jazzband/django-auditlog/issues/644
    TEST_DB_USER=$PGUSER \
    TEST_DB_HOST=$PGHOST \
    ${python.interpreter} runtests.py | cat
    ${python.interpreter} ./manage.py test | cat
    cd ..

    runHook postCheck
  '';