fix(test): update 11 failing tests to match refactored status tracking and API changes
- Update test_bulk_operations.py: Use FileProcessingStep instead of ProcessingLog for status filter tests - Update test_file_listing.py: Use FileProcessingStep for processing status determination tests - Update test_file_detail_endpoints.py: Replace hash_file with check_text in step summary test - Update test_path_traversal_security.py: Import get_unique_filepath_with_counter from correct module - Update test_process_document.py: Match current duplicate handling behavior (creates new record) Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
This commit is contained in:
@@ -514,7 +514,7 @@ class TestStepSummary:
|
||||
|
||||
now = datetime.now()
|
||||
logs = [
|
||||
MockLog("hash_file", "success", now - timedelta(minutes=5)),
|
||||
MockLog("check_text", "success", now - timedelta(minutes=5)),
|
||||
MockLog("create_file_record", "success", now - timedelta(minutes=4)),
|
||||
MockLog("extract_metadata_with_gpt", "failure", now - timedelta(minutes=3)),
|
||||
MockLog("upload_to_dropbox", "success", now - timedelta(minutes=2)),
|
||||
|
||||
Reference in New Issue
Block a user