Skip to content

Bugfix Code Search Test#145

Merged
NISH1001 merged 1 commit into
developfrom
bugfix/code-search-tests
Aug 23, 2025
Merged

Bugfix Code Search Test#145
NISH1001 merged 1 commit into
developfrom
bugfix/code-search-tests

Conversation

@pranath-reddy
Copy link
Copy Markdown
Member

Summary 📝

This PR updates the test_data_file_validation() function by implementing proper setup and teardown using pytest fixtures to handle temporary file management. The updated test downloads the data file to a temporary location, validates it, and ensures clean cleanup of all temporary resources.

Details

  1. Added pytest fixture temp_data_file that handles temporary file lifecycle management.
  2. Applied proper setup/teardown pattern using yield for automatic resource cleanup.
  3. Isolated test execution by downloading to temporary directory instead of using persistent files.

Bugfixes 🐛

  • Fixed test assumption that data file was already present on the system

Checks

  • Tested Changes
  • Stakeholder Approval

- Update repo dump validation
@github-actions
Copy link
Copy Markdown

❌ Tests failed (exit code: 1)

📊 Test Results

  • Passed: 153
  • Failed: 6
  • Warnings: 86
  • Coverage: 68%

Branch: bugfix/code-search-tests
PR: #145
Commit: 0b1741529567fc5a9480b9c20bd5cd97368d516f

📋 Full coverage report and logs are available in the workflow run.

@NISH1001 NISH1001 merged commit 38e4e96 into develop Aug 23, 2025
2 checks passed
@NISH1001 NISH1001 deleted the bugfix/code-search-tests branch August 23, 2025 01:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants