pgAdmin 4 commit: Improve code coverage and API test cases for the Even

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

pgAdmin 4 commit: Improve code coverage and API test cases for the Even

Akshay Joshi
Improve code coverage and API test cases for the Event Trigger module. Fixes #5088

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=e9f16a29cfe0718ae9f90c0c8ac3c291e2c4a090
Author: Pradip Parkale <[hidden email]>

Modified Files
--------------
docs/en_US/release_notes_4_19.rst                  |   1 +
.../servers/databases/event_triggers/__init__.py   |   4 +-
.../tests/event_triggers_test_data.json            | 532 +++++++++++++++++++++
.../event_triggers/tests/test_event_trigger_add.py |  82 +++-
.../tests/test_event_trigger_delete.py             |  58 ++-
.../tests/test_event_trigger_delete_multiple.py    |  39 +-
.../test_event_trigger_dependancy_dependent.py     | 105 ++++
.../tests/test_event_trigger_functions.py          | 116 +++++
.../event_triggers/tests/test_event_trigger_get.py | 167 ++++++-
.../event_triggers/tests/test_event_trigger_put.py |  63 ++-
.../event_triggers/tests/test_event_trigger_sql.py | 134 ++++++
.../databases/event_triggers/tests/utils.py        |  38 ++
.../servers/databases/languages/tests/utils.py     |   6 +-
web/regression/python_test_utils/test_utils.py     |  18 +
14 files changed, 1292 insertions(+), 71 deletions(-)