jason810496 commented on code in PR #47004:
URL: https://github.com/apache/airflow/pull/47004#discussion_r1967539023
##########
tests/core/test_configuration.py:
##########
@@ -938,6 +938,12 @@ def test_deprecated_options(self):
with pytest.warns(DeprecationWarning), conf_vars({("celery",
"celeryd_concurrency"): "99"}):
assert conf.getint("celery", "worker_concurrency") == 99
+ # should get None when set lookup_from_deprecated_options keyword
to False
Review Comment:
I have refactored the test cases and also renamed
`lookup_from_deprecated_options` to `lookup_from_deprecated` to prevent any
misunderstanding that it applies **only** to options. It works for both
deprecated sections and option pairs.
--
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]