Skip to content

chore: refactor request type tests#17026

Open
parthea wants to merge 5 commits into
mainfrom
refactor-request-type-tests
Open

chore: refactor request type tests#17026
parthea wants to merge 5 commits into
mainfrom
refactor-request-type-tests

Conversation

@parthea
Copy link
Copy Markdown
Contributor

@parthea parthea commented May 11, 2026

This PR depends on #16944. Please review #16944 first.

This PR addresses the feedback in #16944 (comment)

@parthea parthea requested a review from a team as a code owner May 11, 2026 16:39
@parthea parthea marked this pull request as draft May 11, 2026 16:43
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors the unit test generation logic to pass instantiated request objects or dictionaries directly into parametrized tests, improving the handling of auto-populated fields. A critical issue was identified in the Jinja2 template where whitespace control characters in a loop are causing syntax errors in the generated Python code by collapsing multiple statements onto a single line.

@parthea parthea marked this pull request as ready for review May 11, 2026 17:36
Base automatically changed from repro-508597813 to main May 11, 2026 18:14
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