pgAdmin 4 commit: Change the following to replace Python 2 code with Py - Mailing list pgadmin-hackers

From Akshay Joshi
Subject pgAdmin 4 commit: Change the following to replace Python 2 code with Py
Date
Msg-id E1kChoU-0003PR-VR@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Change the following to replace Python 2 code with Python 3:
1) Replace the deprecated unit test method.
2) Wraps filter usage in a list call.
3) Converts the old metaclass syntax to new.
4) Use range instead of xrange method.
5) Change Unicode to str.
6) Several other transformations.
7) Fixed change password test cases.
8) Use simplejson instead of plain JSON.

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=5a253f9053249ca26e37b5e6df194f08db49a651
Author: Cyril Jouve <jv.cyril@gmail.com>

Modified Files
--------------
docs/en_US/conf.py                                 |   8 +-
tools/sql_keywords.py                              |   2 +-
web/config.py                                      |   4 +-
web/pgAdmin4.py                                    |   2 +-
web/pgadmin/__init__.py                            |  15 +--
web/pgadmin/about/__init__.py                      |   2 +-
web/pgadmin/authenticate/ldap.py                   |   2 +-
web/pgadmin/browser/__init__.py                    |   8 +-
web/pgadmin/browser/server_groups/__init__.py      |  12 +-
.../browser/server_groups/servers/__init__.py      |  24 ++--
.../server_groups/servers/databases/__init__.py    |   6 +-
.../servers/databases/casts/__init__.py            |   2 +-
.../servers/databases/casts/tests/utils.py         |   4 +-
.../servers/databases/event_triggers/__init__.py   |   2 +-
.../event_triggers/tests/test_event_trigger_add.py |   2 +-
.../tests/test_event_trigger_delete.py             |   2 +-
.../tests/test_event_trigger_delete_multiple.py    |   2 +-
.../test_event_trigger_dependancy_dependent.py     |   2 +-
.../tests/test_event_trigger_functions.py          |   2 +-
.../event_triggers/tests/test_event_trigger_get.py |   4 +-
.../event_triggers/tests/test_event_trigger_put.py |   2 +-
.../event_triggers/tests/test_event_trigger_sql.py |   2 +-
.../extensions/tests/test_extension_add.py         |   2 +-
.../extensions/tests/test_extension_delete.py      |   2 +-
.../tests/test_extension_delete_multiple.py        |   2 +-
.../extensions/tests/test_extension_get.py         |   2 +-
.../extensions/tests/test_extension_put.py         |   2 +-
.../servers/databases/external_tables/__init__.py  |   6 +-
.../databases/external_tables/mapping_utils.py     |   3 +-
.../tests/test_external_tables_module.py           |   4 +-
.../tests/test_external_tables_view.py             |   4 +-
.../external_tables/tests/test_properties.py       |   2 +-
.../databases/foreign_data_wrappers/__init__.py    |   2 +-
.../foreign_servers/__init__.py                    |   2 +-
.../tests/test_foreign_servers_add.py              |   2 +-
.../tests/test_foreign_servers_delete.py           |   2 +-
.../tests/test_foreign_servers_delete_multiple.py  |   2 +-
.../test_foreign_servers_dependent_dependency.py   |   2 +-
.../tests/test_foreign_servers_get.py              |   2 +-
.../tests/test_foreign_servers_msql.py             |   2 +-
.../tests/test_foreign_servers_node.py             |   2 +-
.../tests/test_foreign_servers_put.py              |   2 +-
.../tests/test_foreign_servers_sql.py              |   2 +-
.../foreign_servers/user_mappings/__init__.py      |   2 +-
.../user_mappings/tests/test_user_mapping_add.py   |   2 +-
.../tests/test_user_mapping_delete.py              |   2 +-
.../tests/test_user_mapping_delete_multiple.py     |   2 +-
.../test_user_mapping_dependent_dependency.py      |   2 +-
.../user_mappings/tests/test_user_mapping_get.py   |   2 +-
.../user_mappings/tests/test_user_mapping_msql.py  |   2 +-
.../user_mappings/tests/test_user_mapping_node.py  |   2 +-
.../user_mappings/tests/test_user_mapping_put.py   |   2 +-
.../user_mappings/tests/test_user_mapping_sql.py   |   2 +-
.../foreign_data_wrappers/tests/test_fdw_add.py    |   4 +-
.../foreign_data_wrappers/tests/test_fdw_delete.py |   4 +-
.../tests/test_fdw_delete_multiple.py              |   4 +-
.../tests/test_fdw_dependency_dependent.py         |   2 +-
.../tests/test_fdw_get-handlers.py                 |   4 +-
.../foreign_data_wrappers/tests/test_fdw_get.py    |   2 +-
.../tests/test_fdw_get_nodes.py                    |   2 +-
.../tests/test_fdw_get_validators.py               |   4 +-
.../foreign_data_wrappers/tests/test_fdw_msql.py   |   2 +-
.../foreign_data_wrappers/tests/test_fdw_put.py    |   4 +-
.../foreign_data_wrappers/tests/test_fdw_sql.py    |   2 +-
.../databases/languages/tests/test_language_add.py |   2 +-
.../languages/tests/test_language_delete.py        |   2 +-
.../tests/test_language_delete_multiple.py         |   2 +-
.../languages/tests/test_language_dependency.py    |   2 +-
.../languages/tests/test_language_dependent.py     |   2 +-
.../databases/languages/tests/test_language_get.py |   4 +-
.../test_language_get_function_and_template.py     |   2 +-
.../databases/languages/tests/test_language_put.py |   2 +-
.../databases/languages/tests/test_language_sql.py |   2 +-
.../servers/databases/schemas/__init__.py          |   4 +-
.../databases/schemas/collations/__init__.py       |   2 +-
.../schemas/collations/tests/test_collation_add.py |   2 +-
.../collations/tests/test_collation_delete.py      |   2 +-
.../tests/test_collation_delete_multiple.py        |   2 +-
.../tests/test_collation_dependency_dependent.py   |   2 +-
.../schemas/collations/tests/test_collation_get.py |   2 +-
.../tests/test_collation_get_collation_function.py |   2 +-
.../collations/tests/test_collation_get_nodes.py   |   2 +-
.../schemas/collations/tests/test_collation_put.py |   2 +-
.../schemas/collations/tests/test_collation_sql.py |   2 +-
.../servers/databases/schemas/domains/__init__.py  |   2 +-
.../schemas/domains/domain_constraints/__init__.py |   2 +-
.../tests/test_domain_constraints_add.py           |   2 +-
.../tests/test_domain_constraints_delete.py        |   2 +-
.../test_domain_constraints_delete_multiple.py     |   2 +-
.../tests/test_domain_constraints_dependents.py    |   2 +-
.../tests/test_domain_constraints_get.py           |   2 +-
.../tests/test_domain_constraints_msql.py          |   2 +-
.../tests/test_domain_constraints_node.py          |   2 +-
.../tests/test_domain_constraints_put.py           |   2 +-
.../tests/test_domain_constraints_sql.py           |   2 +-
.../schemas/domains/tests/test_domain_add.py       |   2 +-
.../schemas/domains/tests/test_domain_delete.py    |   2 +-
.../domains/tests/test_domain_delete_multiple.py   |   2 +-
.../tests/test_domain_dependent_dependency.py      |   2 +-
.../schemas/domains/tests/test_domain_get.py       |   2 +-
.../domains/tests/test_domain_get_collations.py    |   2 +-
.../schemas/domains/tests/test_domain_get_node.py  |   2 +-
.../domains/tests/test_domain_get_types_func.py    |   2 +-
.../schemas/domains/tests/test_domain_msql.py      |   2 +-
.../schemas/domains/tests/test_domain_put.py       |   2 +-
.../schemas/domains/tests/test_domain_sql.py       |  12 +-
.../databases/schemas/foreign_tables/__init__.py   |  12 +-
.../foreign_tables/tests/test_foreign_table_add.py |   2 +-
.../tests/test_foreign_table_delete.py             |   2 +-
.../tests/test_foreign_table_delete_multiple.py    |   2 +-
.../foreign_tables/tests/test_foreign_table_get.py |   2 +-
.../foreign_tables/tests/test_foreign_table_put.py |   2 +-
.../schemas/fts_configurations/__init__.py         |   2 +-
.../tests/test_fts_configuration_add.py            |   2 +-
.../tests/test_fts_configuration_copyConfig.py     |   2 +-
.../tests/test_fts_configuration_delete.py         |   4 +-
.../test_fts_configuration_delete_multiple.py      |   2 +-
.../test_fts_configuration_dependency_dependent.py |   2 +-
.../tests/test_fts_configuration_get.py            |   2 +-
.../test_fts_configuration_get_dictionaries.py     |   2 +-
.../tests/test_fts_configuration_get_nodes.py      |   2 +-
.../tests/test_fts_configuration_get_sql.py        |   2 +-
.../tests/test_fts_configuration_parsers.py        |   2 +-
.../tests/test_fts_configuration_put.py            |   8 +-
.../tests/test_fts_configuration_tokens.py         |   2 +-
.../databases/schemas/fts_dictionaries/__init__.py |   4 +-
.../tests/test_fts_dictionaries_add.py             |   2 +-
.../tests/test_fts_dictionaries_delete.py          |   4 +-
.../tests/test_fts_dictionaries_delete_multiple.py |   2 +-
.../test_fts_dictionaries_dependency_dependent.py  |   2 +-
.../tests/test_fts_dictionaries_fetch_templates.py |   2 +-
.../tests/test_fts_dictionaries_get.py             |   2 +-
.../tests/test_fts_dictionaries_get_nodes.py       |   2 +-
.../tests/test_fts_dictionaries_put.py             |   4 +-
.../fts_parsers/tests/test_fts_parser_add.py       |   2 +-
.../fts_parsers/tests/test_fts_parser_delete.py    |   4 +-
.../tests/test_fts_parser_delete_multiple.py       |   2 +-
.../tests/test_fts_parser_dependency_dependent.py  |   2 +-
.../tests/test_fts_parser_end_functions.py         |   2 +-
.../fts_parsers/tests/test_fts_parser_get.py       |   2 +-
.../fts_parsers/tests/test_fts_parser_get_nodes.py |   2 +-
.../tests/test_fts_parser_head_line_functions.py   |   2 +-
.../tests/test_fts_parser_lextype_functions.py     |   2 +-
.../fts_parsers/tests/test_fts_parser_put.py       |   2 +-
.../tests/test_fts_parser_start_functions.py       |   2 +-
.../tests/test_fts_parser_token_functions.py       |   2 +-
.../databases/schemas/fts_templates/__init__.py    |   2 +-
.../test_fts_template_dependency_dependent.py      |   2 +-
.../tests/test_fts_template_get_init.py            |   2 +-
.../tests/test_fts_template_get_lexize.py          |   2 +-
.../tests/test_fts_template_get_nodes.py           |   2 +-
.../fts_templates/tests/test_fts_templates_add.py  |   2 +-
.../tests/test_fts_templates_delete.py             |   4 +-
.../tests/test_fts_templates_delete_multiple.py    |   2 +-
.../fts_templates/tests/test_fts_templates_get.py  |   2 +-
.../fts_templates/tests/test_fts_templates_put.py  |   4 +-
.../databases/schemas/functions/__init__.py        |   6 +-
.../schemas/functions/tests/test_function_add.py   |   2 +-
.../functions/tests/test_function_delete.py        |   2 +-
.../tests/test_function_delete_multiple.py         |   2 +-
.../schemas/functions/tests/test_function_get.py   |   2 +-
.../schemas/functions/tests/test_function_put.py   |   2 +-
.../schemas/functions/tests/test_procedure_add.py  |   2 +-
.../functions/tests/test_procedure_delete.py       |   2 +-
.../tests/test_procedure_delete_multiple.py        |   2 +-
.../functions/tests/test_procedure_exec_sql.py     |   4 +-
.../schemas/functions/tests/test_procedure_get.py  |   2 +-
.../schemas/functions/tests/test_procedure_put.py  |   2 +-
.../functions/tests/test_trigger_func_add.py       |   2 +-
.../functions/tests/test_trigger_func_delete.py    |   2 +-
.../tests/test_trigger_func_delete_multiple.py     |   2 +-
.../functions/tests/test_trigger_func_get.py       |   2 +-
.../functions/tests/test_trigger_func_put.py       |   2 +-
.../servers/databases/schemas/packages/__init__.py |   8 +-
.../schemas/packages/edbfuncs/__init__.py          |   2 +-
.../edbfuncs/tests/test_package_edbfuncs_get.py    |  16 +--
.../databases/schemas/packages/edbvars/__init__.py |   6 +-
.../schemas/packages/tests/test_package_add.py     |   2 +-
.../schemas/packages/tests/test_package_delete.py  |   2 +-
.../packages/tests/test_package_delete_multiple.py |   2 +-
.../schemas/packages/tests/test_package_get.py     |   2 +-
.../schemas/packages/tests/test_package_put.py     |   2 +-
.../databases/schemas/sequences/__init__.py        |  18 ++-
.../schemas/sequences/tests/test_sequence_add.py   |   2 +-
.../sequences/tests/test_sequence_delete.py        |   2 +-
.../tests/test_sequence_delete_multiple.py         |   2 +-
.../schemas/sequences/tests/test_sequence_get.py   |   2 +-
.../schemas/sequences/tests/test_sequence_put.py   |   2 +-
.../schemas/synonyms/tests/test_synonym_add.py     |   2 +-
.../schemas/synonyms/tests/test_synonym_delete.py  |   2 +-
.../synonyms/tests/test_synonym_delete_multiple.py |   2 +-
.../schemas/synonyms/tests/test_synonym_get.py     |   2 +-
.../schemas/synonyms/tests/test_synonym_put.py     |   2 +-
.../servers/databases/schemas/tables/__init__.py   |   8 +-
.../databases/schemas/tables/columns/__init__.py   |   2 +-
.../tables/columns/tests/test_column_msql.py       |   2 +-
.../tests/test_compound_triggers_add.py            |   4 +-
.../tests/test_compound_triggers_delete.py         |   4 +-
.../test_compound_triggers_delete_multiple.py      |   4 +-
.../tests/test_compound_triggers_get.py            |   8 +-
.../tests/test_compound_triggers_put.py            |   4 +-
.../schemas/tables/compound_triggers/utils.py      |   2 +-
.../schemas/tables/constraints/__init__.py         |   2 +-
.../constraints/check_constraint/__init__.py       |   2 +-
.../constraints/exclusion_constraint/__init__.py   |   2 +-
.../tables/constraints/foreign_key/__init__.py     |   2 +-
.../constraints/index_constraint/__init__.py       |   4 +-
.../tables/constraints/index_constraint/utils.py   |   2 +-
.../schemas/tables/indexes/tests/utils.py          |   4 +-
.../databases/schemas/tables/indexes/utils.py      |   2 +-
.../row_security_policies/tests/test_rls_add.py    |   4 +-
.../row_security_policies/tests/test_rls_delete.py |   4 +-
.../tests/test_rls_delete_multiple.py              |   4 +-
.../row_security_policies/tests/test_rls_get.py    |   4 +-
.../row_security_policies/tests/test_rls_put.py    |   4 +-
.../schemas/tables/row_security_policies/utils.py  |   2 +-
.../schemas/tables/rules/tests/test_rules_add.py   |   4 +-
.../tables/rules/tests/test_rules_delete.py        |   4 +-
.../rules/tests/test_rules_delete_multiple.py      |   4 +-
.../schemas/tables/rules/tests/test_rules_get.py   |   4 +-
.../schemas/tables/rules/tests/test_rules_put.py   |   4 +-
.../databases/schemas/tables/schema_diff_utils.py  |   6 +-
.../tables/tests/test_column_privileges_put.py     |   2 +-
.../schemas/tables/tests/test_table_add.py         |   2 +-
.../schemas/tables/tests/test_table_delete.py      |   2 +-
.../tables/tests/test_table_delete_multiple.py     |   2 +-
.../schemas/tables/tests/test_table_get.py         |   2 +-
.../schemas/tables/tests/test_table_parameters.py  |   2 +-
.../schemas/tables/tests/test_table_put.py         |   2 +-
.../schemas/tables/tests/test_tables_acl_sql.py    |   4 +-
.../tables/tests/test_tables_properties_sql.py     |   2 +-
.../tables/triggers/tests/test_triggers_add.py     |   4 +-
.../tables/triggers/tests/test_triggers_delete.py  |   4 +-
.../tests/test_triggers_delete_multiple.py         |   2 +-
.../tables/triggers/tests/test_triggers_get.py     |   8 +-
.../tables/triggers/tests/test_triggers_put.py     |   4 +-
.../databases/schemas/tables/triggers/utils.py     |   2 +-
.../servers/databases/schemas/tables/utils.py      |  12 +-
.../databases/schemas/tests/test_schema_add.py     |   2 +-
.../databases/schemas/tests/test_schema_delete.py  |   2 +-
.../schemas/tests/test_schema_delete_multiple.py   |   2 +-
.../schemas/tests/test_schema_dependents.py        |   2 +-
.../databases/schemas/tests/test_schema_get.py     |   2 +-
.../schemas/tests/test_schema_get_children.py      |   2 +-
.../databases/schemas/tests/test_schema_node.py    |   2 +-
.../databases/schemas/tests/test_schema_put.py     |   2 +-
.../databases/schemas/tests/test_schema_sql.py     |   2 +-
.../servers/databases/schemas/types/__init__.py    |   2 +-
.../schemas/types/tests/test_types_add.py          |   4 +-
.../schemas/types/tests/test_types_delete.py       |   4 +-
.../types/tests/test_types_delete_multiple.py      |   4 +-
.../types/tests/test_types_dependency_dependent.py |   2 +-
.../schemas/types/tests/test_types_get.py          |   2 +-
.../types/tests/test_types_get_collations.py       |   4 +-
.../tests/test_types_get_external_functions.py     |   4 +-
.../schemas/types/tests/test_types_get_stypes.py   |   4 +-
.../types/tests/test_types_get_stypes_opclass.py   |   4 +-
.../types/tests/test_types_get_subtype_diff.py     |   4 +-
.../schemas/types/tests/test_types_get_types.py    |   4 +-
.../schemas/types/tests/test_types_msql.py         |   4 +-
.../schemas/types/tests/test_types_nodes.py        |   4 +-
.../schemas/types/tests/test_types_put.py          |   4 +-
.../schemas/types/tests/test_types_sql.py          |   4 +-
.../servers/databases/schemas/views/__init__.py    |   4 +-
.../schemas/views/tests/test_mviews_parameters.py  |   2 +-
.../schemas/views/tests/test_mviews_refresh.py     |   6 +-
.../schemas/views/tests/test_views_add.py          |   2 +-
.../schemas/views/tests/test_views_delete.py       |   2 +-
.../views/tests/test_views_delete_multiple.py      |   2 +-
.../schemas/views/tests/test_views_get.py          |   2 +-
.../schemas/views/tests/test_views_put.py          |   2 +-
.../servers/databases/tests/test_db_add.py         |   2 +-
.../servers/databases/tests/test_db_delete.py      |   2 +-
.../databases/tests/test_db_delete_multiple.py     |   2 +-
.../servers/databases/tests/test_db_get.py         |   2 +-
.../servers/databases/tests/test_db_put.py         |   2 +-
.../server_groups/servers/pgagent/__init__.py      |   2 +-
.../servers/pgagent/tests/test_pgagent_add.py      |   2 +-
.../servers/pgagent/tests/test_pgagent_delete.py   |   2 +-
.../pgagent/tests/test_pgagent_delete_multiple.py  |   2 +-
.../servers/pgagent/tests/test_pgagent_put.py      |   2 +-
.../pgagent/tests/tests_pgagent_add_schedule.py    |   2 +-
.../pgagent/tests/tests_pgagent_add_steps.py       |   2 +-
.../tests_pgagent_delete_multiple_schedules.py     |   2 +-
.../tests/tests_pgagent_delete_multiple_steps.py   |   2 +-
.../pgagent/tests/tests_pgagent_delete_schedule.py |   2 +-
.../pgagent/tests/tests_pgagent_delete_steps.py    |   2 +-
.../servers/pgagent/tests/tests_pgagent_get.py     |   2 +-
.../pgagent/tests/tests_pgagent_put_schedule.py    |   2 +-
.../pgagent/tests/tests_pgagent_put_step.py        |   2 +-
.../servers/pgagent/tests/tests_pgagent_stats.py   |   2 +-
.../tests/test_resource_groups_add.py              |   2 +-
.../tests/test_resource_groups_delete.py           |   2 +-
.../tests/test_resource_groups_delete_multiple.py  |   2 +-
.../tests/test_resource_groups_put.py              |   2 +-
.../tests/tests_resource_groups_get.py             |   2 +-
.../server_groups/servers/roles/__init__.py        | 134 ++++++++++-----------
.../servers/roles/tests/test_role_add.py           |   2 +-
.../servers/roles/tests/test_role_delete.py        |   2 +-
.../roles/tests/test_role_delete_multiple.py       |   2 +-
.../servers/roles/tests/test_role_get.py           |   2 +-
.../servers/roles/tests/test_role_put.py           |   2 +-
.../server_groups/servers/tablespaces/__init__.py  |   2 +-
.../tablespaces/tests/test_backend_supported.py    |   2 +-
.../servers/tablespaces/tests/test_tbspc_add.py    |   2 +-
.../servers/tablespaces/tests/test_tbspc_delete.py |   4 +-
.../servers/tablespaces/tests/test_tbspc_get.py    |   2 +-
.../servers/tablespaces/tests/test_tbspc_put.py    |   2 +-
.../tests/test_add_server_with_connect_timeout.py  |   2 +-
.../tests/test_add_server_with_service_id.py       |   2 +-
.../tests/test_add_server_with_ssh_tunnel.py       |   2 +-
.../servers/tests/test_check_ssl_connection.py     |   2 +-
.../servers/tests/test_is_valid_address.py         |   4 +-
.../server_groups/servers/tests/test_server_add.py |   6 +-
.../servers/tests/test_server_delete.py            |   2 +-
.../server_groups/servers/tests/test_server_get.py |   2 +-
.../server_groups/servers/tests/test_server_put.py |   2 +-
web/pgadmin/browser/tests/test_change_password.py  |  16 +--
web/pgadmin/browser/tests/test_ldap_login.py       |  53 ++++----
web/pgadmin/browser/tests/test_master_password.py  |  16 +--
web/pgadmin/browser/tests/utils.py                 |   6 +-
.../dashboard/tests/test_dashboard_graphs.py       |  10 +-
.../pg_utilities_backup_restore_test.py            |   4 +-
.../feature_tests/pg_utilities_maintenance_test.py |  14 +--
web/pgadmin/feature_tests/view_data_dml_queries.py |   4 +-
web/pgadmin/misc/bgprocess/processes.py            |  30 +++--
web/pgadmin/misc/file_manager/__init__.py          | 126 +++++++++----------
web/pgadmin/setup/db_upgrade.py                    |   2 +-
web/pgadmin/setup/user_info.py                     |  16 +--
web/pgadmin/tools/backup/__init__.py               |   2 +-
.../tools/backup/tests/test_backup_utils.py        |   4 +-
.../test_check_utility_exists_route_backup.py      |   4 +-
web/pgadmin/tools/debugger/__init__.py             |   2 +-
.../tests/test_grant_wizard_get_acl.py             |   2 +-
.../tests/test_grant_wizard_get_properties.py      |   2 +-
.../tests/test_grant_wizard_get_sql.py             |   2 +-
.../tests/test_grant_wizard_save_permissions.py    |   2 +-
web/pgadmin/tools/import_export/__init__.py        |   2 +-
...est_check_utility_exists_route_import_export.py |   4 +-
.../test_check_utility_exists_route_maintenance.py |   4 +-
.../tests/test_create_maintenance_job.py           |   4 +-
web/pgadmin/tools/restore/__init__.py              |   2 +-
.../test_check_utility_exists_route_restore.py     |   4 +-
.../tools/restore/tests/test_create_restore_job.py |   4 +-
web/pgadmin/tools/schema_diff/directory_compare.py |  57 +++++----
.../schema_diff/tests/test_schema_diff_comp.py     |   8 +-
.../tools/search_objects/tests/test_api_search.py  |   4 +-
.../tools/search_objects/tests/test_api_types.py   |   4 +-
.../tests/test_search_objects_helper.py            |  20 +--
web/pgadmin/tools/sqleditor/__init__.py            |  14 +--
web/pgadmin/tools/sqleditor/command.py             |   4 +-
.../tests/test_download_csv_query_tool.py          |  12 +-
.../tools/sqleditor/tests/test_editor_history.py   |  18 +--
.../tools/sqleditor/tests/test_encoding_charset.py |  10 +-
.../tools/sqleditor/tests/test_explain_plan.py     |  10 +-
.../test_extract_sql_from_network_parameters.py    |   2 +-
.../tools/sqleditor/tests/test_poll_query_tool.py  |  10 +-
.../tools/sqleditor/tests/test_start_query_tool.py |   4 +-
.../sqleditor/tests/test_transaction_status.py     |  14 +--
.../tools/sqleditor/tests/test_view_data.py        |  12 +-
.../tools/sqleditor/utils/start_running_query.py   |   2 +-
.../utils/tests/test_apply_explain_plan_wrapper.py |   2 +-
.../utils/tests/test_filter_dialog_callbacks.py    |   4 +-
.../tests/test_is_query_resultset_updatable.py     |  12 +-
.../utils/tests/test_save_changed_data.py          |  10 +-
.../utils/tests/test_start_running_query.py        |   4 +-
web/pgadmin/utils/__init__.py                      |   8 +-
web/pgadmin/utils/ajax.py                          |   2 +-
web/pgadmin/utils/csv.py                           |   2 +-
web/pgadmin/utils/driver/psycopg2/__init__.py      |  30 ++---
web/pgadmin/utils/driver/psycopg2/connection.py    | 110 ++++++++---------
web/pgadmin/utils/driver/psycopg2/cursor.py        |   2 +-
.../utils/driver/psycopg2/generate_keywords.py     |   6 +-
.../utils/driver/psycopg2/server_manager.py        |  12 +-
.../javascript/tests/test_javascript_bundler.py    |   4 +-
web/pgadmin/utils/preferences.py                   |  11 +-
web/pgadmin/utils/sqlautocomplete/autocomplete.py  |   6 +-
.../utils/sqlautocomplete/parseutils/ctes.py       |   2 +-
.../utils/tests/test_compile_template_name.py      |   2 +-
web/pgadmin/utils/tests/test_encoding.py           |   2 +-
web/regression/python_test_utils/test_utils.py     |  10 +-
web/regression/re_sql/tests/test_resql.py          |  18 +--
web/regression/runtests.py                         |  19 +++
web/regression/test_config.json.in                 |   2 +-
web/setup.py                                       |   4 +-
385 files changed, 940 insertions(+), 946 deletions(-)


pgadmin-hackers by date:

Previous
From: Rahul Shirsat
Date:
Subject: [pgAdmin][Patch] #5746 setup.py --load-server does not allow loading connections that use pg_services
Next
From: Akshay Joshi
Date:
Subject: Re: More idiomatic python3 + fix some tests