Skip to content

Conversation

jamesbraza
Copy link
Collaborator

I also consolidate some of the Mock creation code

@jamesbraza jamesbraza self-assigned this Aug 11, 2025
@Copilot Copilot AI review requested due to automatic review settings August 11, 2025 16:39
@jamesbraza jamesbraza added the bug Something isn't working label Aug 11, 2025
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Aug 11, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR removes a dead patch decorator and consolidates mock object creation in the test_add_clinical_trials_to_docs test function. The changes simplify the test setup while maintaining the same test functionality.

  • Removed unused patch decorator for search_retrieve_clinical_trials function
  • Consolidated mock object creation using more concise syntax
  • Updated fixture naming to follow pytest conventions

@jamesbraza jamesbraza force-pushed the cleaning-up-clin-trials-test branch from d229f23 to c600987 Compare August 11, 2025 16:40
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Aug 11, 2025
@jamesbraza jamesbraza merged commit 6801155 into main Aug 11, 2025
5 checks passed
@jamesbraza jamesbraza deleted the cleaning-up-clin-trials-test branch August 11, 2025 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working lgtm This PR has been approved by a maintainer size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants