[pgadmin-hackers] [pgAdmin4][Patch]: Fixed #2486: Feature tests use SQLITE_PATH insteadof TEST_SQLITE_PATH.
[pgadmin-hackers] [pgAdmin4][Patch]: Fixed #2486: Feature tests use SQLITE_PATH insteadof TEST_SQLITE_PATH.
Hi,
Please find the attached patch to fix #2486: Feature tests use SQLITE_PATH instead of TEST_SQLITE_PATH.
While running the feature tests, the separate process of the app does not honour the config settings which are in runtests.py file.
Fix:
As per Dave, no need to set TESTING_MODE in config rather set environment variable PGADMIN_TESTING_MODE to check the testing status and accordingly set the TEST_SQLITE_PATH (i.e. Database path for testing).
Thanks,
Khushboo
Re: [pgadmin-hackers] [pgAdmin4][Patch]: Fixed #2486: Feature testsuse SQLITE_PATH instead of TEST_SQLITE_PATH.
От:
Dave Page <dpage@pgadmin.org>
Дата:
Thanks - patch applied! On Thu, Jun 15, 2017 at 1:24 PM, Khushboo Vashi wrote: > Hi, > > Please find the attached patch to fix #2486: Feature tests use SQLITE_PATH > instead of TEST_SQLITE_PATH. > > While running the feature tests, the separate process of the app does not > honour the config settings which are in runtests.py file. > > Fix: > As per Dave, no need to set TESTING_MODE in config rather set environment > variable PGADMIN_TESTING_MODE to check the testing status and accordingly > set the TEST_SQLITE_PATH (i.e. Database path for testing). > > Thanks, > Khushboo > > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company