Improve code coverage and API test cases for Domain and Domain Constraints. Fixes #5326
Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=8e28e0a32b4c3a8bb7f3e149977afb34a0aebb24 Author: Satish V <satis...@enterprisedb.com> Modified Files -------------- docs/en_US/release_notes.rst | 1 + docs/en_US/release_notes_4_24.rst | 19 + .../schemas/domains/domain_constraints/__init__.py | 1 + .../domains/domain_constraints/tests/__init__.py | 15 + .../tests/domain_constraints_test_data.json | 550 ++++++++++++++++++++ .../tests/test_domain_constraints_add.py | 104 ++++ .../tests/test_domain_constraints_delete.py | 113 ++++ .../test_domain_constraints_delete_multiple.py | 115 +++++ .../tests/test_domain_constraints_dependents.py | 107 ++++ .../tests/test_domain_constraints_get.py | 135 +++++ .../tests/test_domain_constraints_msql.py | 114 +++++ .../tests/test_domain_constraints_node.py | 139 +++++ .../tests/test_domain_constraints_put.py | 116 +++++ .../tests/test_domain_constraints_sql.py | 118 +++++ .../domains/domain_constraints/tests/utils.py | 221 ++++++++ .../schemas/domains/tests/domain_test_data.json | 567 +++++++++++++++++++++ .../schemas/domains/tests/test_domain_add.py | 85 +-- .../schemas/domains/tests/test_domain_delete.py | 64 ++- .../domains/tests/test_domain_delete_multiple.py | 44 +- .../tests/test_domain_dependent_dependency.py | 77 +++ .../schemas/domains/tests/test_domain_get.py | 73 ++- .../domains/tests/test_domain_get_collations.py | 83 +++ .../schemas/domains/tests/test_domain_get_node.py | 93 ++++ .../domains/tests/test_domain_get_types_func.py | 89 ++++ .../schemas/domains/tests/test_domain_msql.py | 81 +++ .../schemas/domains/tests/test_domain_put.py | 67 ++- .../schemas/domains/tests/test_domain_sql.py | 160 +++--- .../databases/schemas/domains/tests/utils.py | 7 +- 28 files changed, 3169 insertions(+), 189 deletions(-)