Skip to content

TEST: stop shadowing mock.call in assert generator tests - #4555

Open
uday-kasturi wants to merge 1 commit into
microsoft:mainfrom
uday-kasturi:test/assert-generator-call-shadowing
Open

uday-kasturi wants to merge 1 commit into
microsoft:mainfrom
uday-kasturi:test/assert-generator-call-shadowing

Conversation

@uday-kasturi

Copy link
Copy Markdown

Description

Copilot AI balanced review requested due to automatic review settings November 22, 2026 02:36

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the test-only variable rename that avoids shadowing unittest.mock.call.

No open issues 🎉

What changed in this PR

This test-only cleanup avoids shadowing unittest.mock.call in the assert generator unit tests without changing test behavior.

Changes:

  • Renames loop and comprehension variables from call to send_call.
  • Preserves existing request inspection and assertions.
File Description
tests/​unit/​executor/​promptgen/​test_assert_generator.py Renames mock-call iteration variables to avoid shadowing call.

Review effort: Balanced

This branch has not been deployed

No deployments
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