pgAdmin 4 commit: Improve code coverage and API test cases for Grant Wi - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Improve code coverage and API test cases for Grant Wi
Date
Msg-id E1k8g1v-0003D5-6I@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Improve code coverage and API test cases for Grant Wizard. Fixes #5344

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=64152947828942e934217504da5ec8a70c551a6b
Author: Nikhil Mohite <nikhil.mohite@enterprisedb.com>

Modified Files
--------------
docs/en_US/release_notes_4_26.rst                  |   1 +
web/pgadmin/tools/grant_wizard/__init__.py         |  76 ++++---
web/pgadmin/tools/grant_wizard/tests/__init__.py   |  16 ++
.../grant_wizard/tests/grant_wizard_test_data.json | 234 +++++++++++++++++++++
.../tests/test_grant_wizard_get_acl.py             |  62 ++++++
.../tests/test_grant_wizard_get_properties.py      |  93 ++++++++
.../tests/test_grant_wizard_get_sql.py             |  97 +++++++++
.../tests/test_grant_wizard_save_permissions.py    |  94 +++++++++
web/pgadmin/tools/grant_wizard/tests/utils.py      |  15 ++
9 files changed, 648 insertions(+), 40 deletions(-)


pgadmin-hackers by date:

Previous
From: Dave Page
Date:
Subject: Re: [pgAdmin][RM5990]: Update the style guide on pgAdmin4 website
Next
From: Akshay Joshi
Date:
Subject: Re: WIP: SQL Formatter