RoyLee1224 commented on PR #57373: URL: https://github.com/apache/airflow/pull/57373#issuecomment-3470797998
Perhaps I should try to use a pytest `monkeypatch` fixture in a central `conftest.py` file, automatically provide default values (e.g., `conn_id="test_dummy_conn"`) to `Connection.__init__` only during the test suite. I believe this approach has two benefits: - It keeps this PR small and focused on the MyPy fix. - It avoids touching 200+ unrelated test files. What are your thoughts on this approach? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
