Improve code coverage and API test cases for FTS Configuration, FTS Parser, FTS Dictionaries, and FTS Template. Fixes #5329.
Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=7420673a0f23fa14291f8574a47131929b233da5 Author: Nikhil Mohite <nikhil.moh...@enterprisedb.com> Modified Files -------------- docs/en_US/release_notes_4_24.rst | 1 + .../tests/fts_configurations_test_data.json | 291 +++++++++++++++++++++ .../tests/test_fts_configuration_copyConfig.py | 121 +++++++++ .../tests/test_fts_configuration_delete.py | 9 + .../test_fts_configuration_dependency_dependent.py | 118 +++++++++ .../test_fts_configuration_get_dictionaries.py | 122 +++++++++ .../tests/test_fts_configuration_get_nodes.py | 142 ++++++++++ .../tests/test_fts_configuration_get_sql.py | 124 +++++++++ .../tests/test_fts_configuration_parsers.py | 121 +++++++++ .../tests/test_fts_configuration_put.py | 10 + .../tests/test_fts_configuration_tokens.py | 123 +++++++++ .../schemas/fts_configurations/tests/utils.py | 4 + .../tests/fts_dictionaries_test_data.json | 143 ++++++++++ .../tests/test_fts_dictionaries_delete.py | 10 + .../test_fts_dictionaries_dependency_dependent.py | 118 +++++++++ .../tests/test_fts_dictionaries_fetch_templates.py | 122 +++++++++ .../tests/test_fts_dictionaries_get_nodes.py | 142 ++++++++++ .../tests/test_fts_dictionaries_put.py | 11 + .../schemas/fts_dictionaries/tests/utils.py | 4 + .../fts_parsers/tests/fts_parsers_test_data.json | 248 ++++++++++++++++++ .../fts_parsers/tests/test_fts_parser_delete.py | 10 + .../tests/test_fts_parser_dependency_dependent.py | 118 +++++++++ .../tests/test_fts_parser_end_functions.py | 123 +++++++++ .../fts_parsers/tests/test_fts_parser_get_nodes.py | 142 ++++++++++ .../tests/test_fts_parser_head_line_functions.py | 123 +++++++++ .../tests/test_fts_parser_lextype_functions.py | 123 +++++++++ .../tests/test_fts_parser_start_functions.py | 123 +++++++++ .../tests/test_fts_parser_token_functions.py | 123 +++++++++ .../databases/schemas/fts_parsers/tests/utils.py | 4 + .../tests/fts_templates_test_data.json | 170 ++++++++++++ .../test_fts_template_dependency_dependent.py | 118 +++++++++ .../tests/test_fts_template_get_init.py | 125 +++++++++ .../tests/test_fts_template_get_lexize.py | 125 +++++++++ .../tests/test_fts_template_get_nodes.py | 143 ++++++++++ .../tests/test_fts_templates_delete.py | 10 + .../fts_templates/tests/test_fts_templates_put.py | 11 + .../databases/schemas/fts_templates/tests/utils.py | 4 + 37 files changed, 3579 insertions(+)