pgAdmin 4 commit: Improve code coverage and API test cases for Grant Wi

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Improve code coverage and API test cases for Grant Wi
Date: 2020-08-20 08:34:39
Message-ID: E1k8g1v-0003D5-6I@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)mohite(at)enterprisedb(dot)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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Akshay Joshi 2020-08-20 08:38:26 Re: WIP: SQL Formatter
Previous Message Dave Page 2020-08-20 08:07:42 Re: [pgAdmin][RM5990]: Update the style guide on pgAdmin4 website