W2026-31 weko-search-ui 単体テスト修正 - #1226
Open
ivis-kondo wants to merge 5 commits into
Open
Conversation
- Updated test_ItemManagementBulkDelete_index to include user_activity_log_partition_table. - Fixed return_value typo in patch for check_import_items_task.apply_async. - Refactored test_ItemImportView methods to use client_request_args for API calls. - Changed file content in test_json_ld_mapper to include Japanese text. - Updated multiple test functions in test_utils.py to use search_item_file_pipeline instead of es_item_file_pipeline for consistency.
- Updated test_get_results_setting to assert tuple structure and values. - Enhanced test_get_sort_key to validate sort key presence in configuration. - Parameterized test_get_custom_sort for ascending and descending sort types. - Improved test_get_nested_sorting to check nested sorting functionality. - Adjusted test_get_item_type_aggs to utilize request context for user identity. - Modified test_get_permission_filter to include minimum_should_match in query assertions. - Enhanced test_create_blueprint to validate REST endpoints creation. - Updated test_IndexSearchResource_get_facet to ensure correct response handling. - Refined test_check_import_items_task to mock async task calls properly. - Enhanced test_is_import_running and test_check_celery_is_run for better task state validation. - Refactored test_getEncode to use parameterized testing for encoding checks. - Improved test_cancel_export_all to ensure proper task revocation and cleanup. - Updated test_check_index_access_permissions to ensure proper access control checks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
user_activity_log_partition_tableを追加