Re: [pgadmin4][patch] Use pytest test runner for unit tests - Mailing list pgadmin-hackers

From Dave Page
Subject Re: [pgadmin4][patch] Use pytest test runner for unit tests
Date
Msg-id CA+OCxozBpu020t4+tagcvMStjHakp7aEduGVOFgM8quaRvmxCg@mail.gmail.com
Whole thread Raw
In response to Re: [pgadmin4][patch] Use pytest test runner for unit tests  (Anthony Emengo <aemengo@pivotal.io>)
Responses Re: [pgadmin4][patch] Use pytest test runner for unit tests  (Joao De Almeida Pereira <jdealmeidapereira@pivotal.io>)
List pgadmin-hackers


On Thu, May 24, 2018 at 5:14 PM, Anthony Emengo <aemengo@pivotal.io> wrote:

Here’s a followup patch with the relevant README and Makefile changes. To be clear, both patches need to be applied in succession to run the tests.

The error that you were running into was because the appropriate PYTHONPATH environment variable was not set. We updated the README to reflect that, but haven’t done anything to the code for that

That really needs to be fixed then. I shouldn't need to do anything beyond activate the appropriate virtual environment (which I had done). 

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

pgadmin-hackers by date:

Previous
From: Anthony Emengo
Date:
Subject: Re: [pgadmin4][patch] Use pytest test runner for unit tests
Next
From: Joao De Almeida Pereira
Date:
Subject: Re: [pgAdmin4][RM#3271] Update to the latest 3.x version of jQuery