Re: [pgadmin4][patch] Use pytest test runner for unit tests

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Anthony Emengo <aemengo(at)pivotal(dot)io>
Cc: pgadmin-hackers <pgadmin-hackers(at)postgresql(dot)org>
Subject: Re: [pgadmin4][patch] Use pytest test runner for unit tests
Date: 2018-05-24 16:24:17
Message-ID: CA+OCxozBpu020t4+tagcvMStjHakp7aEduGVOFgM8quaRvmxCg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

On Thu, May 24, 2018 at 5:14 PM, Anthony Emengo <aemengo(at)pivotal(dot)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

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Joao De Almeida Pereira 2018-05-24 19:00:14 Re: [pgAdmin4][RM#3271] Update to the latest 3.x version of jQuery
Previous Message Anthony Emengo 2018-05-24 16:14:47 Re: [pgadmin4][patch] Use pytest test runner for unit tests