Refactor `test_pydantic_ai` to remove usage of internal functions within tests

Open Beginner friendly
#5,637 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
76/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python
Domain
testing-qa

Research direction

Start in the test_pydantic_ai tests and search for the internal function _set_input_messages. Read the related pull request discussion for context, then identify the public APIs used by neighboring tests. Done means all test usage of _set_input_messages has been removed and the relevant tests pass.

Written by the indexing model from the issue text.

Description

good first issue Python Tests

Related: https://github.com/getsentry/sentry-python/pull/5629/changes#r2917105295

There's a couple of spots that are using the internal function _set_input_messages that need to be cleaned up.

Ensure that all tests are using public APIs/functions

Dominant language
Python
Stars
2.2k
Forks
672
Avg merge
1d 13m
Merged PRs (30d)
212

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from getsentry/sentry-python

All issues in getsentry/sentry-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.