Re: Patch for setting preferences with user id
От | Ashesh Vashi |
---|---|
Тема | Re: Patch for setting preferences with user id |
Дата | |
Msg-id | CAG7mmozQwX_PjGAjEsAxw-UZJft-x-ACVP6RA8dQe1gyw-pA6w@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Patch for setting preferences with user id (Dave Page <dpage@pgadmin.org>) |
Ответы |
Re: Patch for setting preferences with user id
|
Список | pgadmin-hackers |
On Mon, Oct 8, 2018 at 5:36 PM Dave Page <dpage@pgadmin.org> wrote:
On Mon, Oct 8, 2018 at 1:00 PM Ashesh Vashi <ashesh.vashi@enterprisedb.com> wrote:On Mon, Oct 8, 2018 at 5:25 PM Khushboo Vashi <khushboo.vashi@enterprisedb.com> wrote:On Mon, Oct 8, 2018 at 4:18 PM Dave Page <dpage@pgadmin.org> wrote:HiOn Mon, Oct 8, 2018 at 9:08 AM Usman Muzaffar <usman.muzaffar@enterprisedb.com> wrote:Hi Hackers,Please find here attached patch for following"modified the function test_utils/set_preference to accommodate user_id."It will help setting preferences in case user_id is other than 1(depending on the user which has been logged in).How would that ever happen? When running the tests, we initialise a new settings database, so we're guaranteed that the user ID will be 1. If it isn't, something is wrong.This is true for pgAdmin but not for PEM.Currently - feature tests are running as the desktop (runtime) mode.Tomorrow - if we want to enable the feature tests for the server mode, then - this approach could be useful.The tests can run in either mode.
No - currently it is running in the runtime mode only. :-)
-- Thanks, Ashesh
--Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
В списке pgadmin-hackers по дате отправления: