🔥 3-day streak
GitHub Copilot95 / 190
Question 95 of 190

A backend team has a Python service using pytest with fixtures and parametrization. A developer selects a pure utility function `normalize_phone(raw: str) -> str` and asks Copilot Chat to '/tests generate unit tests for this function'. Copilot returns tests written using Python's built-in `unittest.TestCase` class with `self.assertEqual` assertions instead of pytest idioms. What is the most effective way to get tests that fit the team's existing suite?

Reviewed for accuracy · Report an issueNext question