From: Sarah Hoffmann Date: Tue, 30 Nov 2021 10:10:47 +0000 (+0100) Subject: organise python tests in subdirectories X-Git-Tag: v4.1.0~108^2~15 X-Git-Url: https://git.openstreetmap.org./nominatim.git/commitdiff_plain/b90e719da595b6760b39b7cd64ee29447de2d5e8?hp=97f172318107aa1f85c5485d69ea783bac945d71 organise python tests in subdirectories The directories follow the same structure as the modules in nominatim/. --- diff --git a/test/python/test_cli.py b/test/python/cli/test_cli.py similarity index 100% rename from test/python/test_cli.py rename to test/python/cli/test_cli.py diff --git a/test/python/test_cli_replication.py b/test/python/cli/test_cmd_replication.py similarity index 100% rename from test/python/test_cli_replication.py rename to test/python/cli/test_cmd_replication.py diff --git a/test/python/test_config.py b/test/python/config/test_config.py similarity index 100% rename from test/python/test_config.py rename to test/python/config/test_config.py diff --git a/test/python/test_db_async_connection.py b/test/python/db/test_async_connection.py similarity index 100% rename from test/python/test_db_async_connection.py rename to test/python/db/test_async_connection.py diff --git a/test/python/test_db_connection.py b/test/python/db/test_connection.py similarity index 100% rename from test/python/test_db_connection.py rename to test/python/db/test_connection.py diff --git a/test/python/test_db_properties.py b/test/python/db/test_properties.py similarity index 100% rename from test/python/test_db_properties.py rename to test/python/db/test_properties.py diff --git a/test/python/test_db_sql_preprocessor.py b/test/python/db/test_sql_preprocessor.py similarity index 100% rename from test/python/test_db_sql_preprocessor.py rename to test/python/db/test_sql_preprocessor.py diff --git a/test/python/test_db_status.py b/test/python/db/test_status.py similarity index 100% rename from test/python/test_db_status.py rename to test/python/db/test_status.py diff --git a/test/python/test_db_utils.py b/test/python/db/test_utils.py similarity index 100% rename from test/python/test_db_utils.py rename to test/python/db/test_utils.py diff --git a/test/python/test_indexing.py b/test/python/indexer/test_indexing.py similarity index 100% rename from test/python/test_indexing.py rename to test/python/indexer/test_indexing.py diff --git a/test/python/test_tokenizer_factory.py b/test/python/tokenizer/test_factory.py similarity index 100% rename from test/python/test_tokenizer_factory.py rename to test/python/tokenizer/test_factory.py diff --git a/test/python/test_tokenizer_icu.py b/test/python/tokenizer/test_icu.py similarity index 100% rename from test/python/test_tokenizer_icu.py rename to test/python/tokenizer/test_icu.py diff --git a/test/python/test_tokenizer_icu_rule_loader.py b/test/python/tokenizer/test_icu_rule_loader.py similarity index 100% rename from test/python/test_tokenizer_icu_rule_loader.py rename to test/python/tokenizer/test_icu_rule_loader.py diff --git a/test/python/test_tokenizer_legacy.py b/test/python/tokenizer/test_legacy.py similarity index 100% rename from test/python/test_tokenizer_legacy.py rename to test/python/tokenizer/test_legacy.py diff --git a/test/python/test_tools_admin.py b/test/python/tools/test_admin.py similarity index 100% rename from test/python/test_tools_admin.py rename to test/python/tools/test_admin.py diff --git a/test/python/test_tools_check_database.py b/test/python/tools/test_check_database.py similarity index 100% rename from test/python/test_tools_check_database.py rename to test/python/tools/test_check_database.py diff --git a/test/python/test_tools_country_info.py b/test/python/tools/test_country_info.py similarity index 100% rename from test/python/test_tools_country_info.py rename to test/python/tools/test_country_info.py diff --git a/test/python/test_tools_database_import.py b/test/python/tools/test_database_import.py similarity index 100% rename from test/python/test_tools_database_import.py rename to test/python/tools/test_database_import.py diff --git a/test/python/test_tools_exec_utils.py b/test/python/tools/test_exec_utils.py similarity index 100% rename from test/python/test_tools_exec_utils.py rename to test/python/tools/test_exec_utils.py diff --git a/test/python/test_tools_freeze.py b/test/python/tools/test_freeze.py similarity index 100% rename from test/python/test_tools_freeze.py rename to test/python/tools/test_freeze.py diff --git a/test/python/test_tools_import_special_phrases.py b/test/python/tools/test_import_special_phrases.py similarity index 100% rename from test/python/test_tools_import_special_phrases.py rename to test/python/tools/test_import_special_phrases.py diff --git a/test/python/test_tools_postcodes.py b/test/python/tools/test_postcodes.py similarity index 100% rename from test/python/test_tools_postcodes.py rename to test/python/tools/test_postcodes.py diff --git a/test/python/test_tools_refresh.py b/test/python/tools/test_refresh.py similarity index 100% rename from test/python/test_tools_refresh.py rename to test/python/tools/test_refresh.py diff --git a/test/python/test_tools_refresh_address_levels.py b/test/python/tools/test_refresh_address_levels.py similarity index 100% rename from test/python/test_tools_refresh_address_levels.py rename to test/python/tools/test_refresh_address_levels.py diff --git a/test/python/test_tools_refresh_create_functions.py b/test/python/tools/test_refresh_create_functions.py similarity index 100% rename from test/python/test_tools_refresh_create_functions.py rename to test/python/tools/test_refresh_create_functions.py diff --git a/test/python/test_tools_refresh_setup_website.py b/test/python/tools/test_refresh_setup_website.py similarity index 100% rename from test/python/test_tools_refresh_setup_website.py rename to test/python/tools/test_refresh_setup_website.py diff --git a/test/python/test_tools_replication.py b/test/python/tools/test_replication.py similarity index 100% rename from test/python/test_tools_replication.py rename to test/python/tools/test_replication.py diff --git a/test/python/test_tools_sp_csv_loader.py b/test/python/tools/test_sp_csv_loader.py similarity index 100% rename from test/python/test_tools_sp_csv_loader.py rename to test/python/tools/test_sp_csv_loader.py diff --git a/test/python/test_tools_sp_wiki_loader.py b/test/python/tools/test_sp_wiki_loader.py similarity index 100% rename from test/python/test_tools_sp_wiki_loader.py rename to test/python/tools/test_sp_wiki_loader.py diff --git a/test/python/test_tools_tiger_data.py b/test/python/tools/test_tiger_data.py similarity index 100% rename from test/python/test_tools_tiger_data.py rename to test/python/tools/test_tiger_data.py