From b90e719da595b6760b39b7cd64ee29447de2d5e8 Mon Sep 17 00:00:00 2001 From: Sarah Hoffmann Date: Tue, 30 Nov 2021 11:10:47 +0100 Subject: [PATCH] organise python tests in subdirectories The directories follow the same structure as the modules in nominatim/. --- test/python/{ => cli}/test_cli.py | 0 .../{test_cli_replication.py => cli/test_cmd_replication.py} | 0 test/python/{ => config}/test_config.py | 0 .../{test_db_async_connection.py => db/test_async_connection.py} | 0 test/python/{test_db_connection.py => db/test_connection.py} | 0 test/python/{test_db_properties.py => db/test_properties.py} | 0 .../{test_db_sql_preprocessor.py => db/test_sql_preprocessor.py} | 0 test/python/{test_db_status.py => db/test_status.py} | 0 test/python/{test_db_utils.py => db/test_utils.py} | 0 test/python/{ => indexer}/test_indexing.py | 0 .../{test_tokenizer_factory.py => tokenizer/test_factory.py} | 0 test/python/{test_tokenizer_icu.py => tokenizer/test_icu.py} | 0 .../test_icu_rule_loader.py} | 0 .../python/{test_tokenizer_legacy.py => tokenizer/test_legacy.py} | 0 test/python/{test_tools_admin.py => tools/test_admin.py} | 0 .../test_check_database.py} | 0 .../{test_tools_country_info.py => tools/test_country_info.py} | 0 .../test_database_import.py} | 0 .../python/{test_tools_exec_utils.py => tools/test_exec_utils.py} | 0 test/python/{test_tools_freeze.py => tools/test_freeze.py} | 0 .../test_import_special_phrases.py} | 0 test/python/{test_tools_postcodes.py => tools/test_postcodes.py} | 0 test/python/{test_tools_refresh.py => tools/test_refresh.py} | 0 .../test_refresh_address_levels.py} | 0 .../test_refresh_create_functions.py} | 0 .../test_refresh_setup_website.py} | 0 .../{test_tools_replication.py => tools/test_replication.py} | 0 .../{test_tools_sp_csv_loader.py => tools/test_sp_csv_loader.py} | 0 .../test_sp_wiki_loader.py} | 0 .../python/{test_tools_tiger_data.py => tools/test_tiger_data.py} | 0 30 files changed, 0 insertions(+), 0 deletions(-) rename test/python/{ => cli}/test_cli.py (100%) rename test/python/{test_cli_replication.py => cli/test_cmd_replication.py} (100%) rename test/python/{ => config}/test_config.py (100%) rename test/python/{test_db_async_connection.py => db/test_async_connection.py} (100%) rename test/python/{test_db_connection.py => db/test_connection.py} (100%) rename test/python/{test_db_properties.py => db/test_properties.py} (100%) rename test/python/{test_db_sql_preprocessor.py => db/test_sql_preprocessor.py} (100%) rename test/python/{test_db_status.py => db/test_status.py} (100%) rename test/python/{test_db_utils.py => db/test_utils.py} (100%) rename test/python/{ => indexer}/test_indexing.py (100%) rename test/python/{test_tokenizer_factory.py => tokenizer/test_factory.py} (100%) rename test/python/{test_tokenizer_icu.py => tokenizer/test_icu.py} (100%) rename test/python/{test_tokenizer_icu_rule_loader.py => tokenizer/test_icu_rule_loader.py} (100%) rename test/python/{test_tokenizer_legacy.py => tokenizer/test_legacy.py} (100%) rename test/python/{test_tools_admin.py => tools/test_admin.py} (100%) rename test/python/{test_tools_check_database.py => tools/test_check_database.py} (100%) rename test/python/{test_tools_country_info.py => tools/test_country_info.py} (100%) rename test/python/{test_tools_database_import.py => tools/test_database_import.py} (100%) rename test/python/{test_tools_exec_utils.py => tools/test_exec_utils.py} (100%) rename test/python/{test_tools_freeze.py => tools/test_freeze.py} (100%) rename test/python/{test_tools_import_special_phrases.py => tools/test_import_special_phrases.py} (100%) rename test/python/{test_tools_postcodes.py => tools/test_postcodes.py} (100%) rename test/python/{test_tools_refresh.py => tools/test_refresh.py} (100%) rename test/python/{test_tools_refresh_address_levels.py => tools/test_refresh_address_levels.py} (100%) rename test/python/{test_tools_refresh_create_functions.py => tools/test_refresh_create_functions.py} (100%) rename test/python/{test_tools_refresh_setup_website.py => tools/test_refresh_setup_website.py} (100%) rename test/python/{test_tools_replication.py => tools/test_replication.py} (100%) rename test/python/{test_tools_sp_csv_loader.py => tools/test_sp_csv_loader.py} (100%) rename test/python/{test_tools_sp_wiki_loader.py => tools/test_sp_wiki_loader.py} (100%) rename test/python/{test_tools_tiger_data.py => tools/test_tiger_data.py} (100%) 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 -- 2.39.5