amoghrajesh commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2272925894
##########
airflow-core/tests/unit/core/test_configuration.py:
##########
@@ -1891,15 +1891,7 @@ def test_config_paths_is_directory(self):
new_callable=lambda: [("mysection1", "mykey1"), ("mysection2",
"mykey2")],
)
def test_mask_conf_values(self, mock_sensitive_config_values):
- from tests_common.test_utils.version_compat import AIRFLOW_V_3_0_PLUS
-
- target = (
- "airflow.sdk.execution_time.secrets_masker.mask_secret"
- if AIRFLOW_V_3_0_PLUS
- else "airflow.utils.log.secrets_masker.mask_secret"
- )
-
- with patch(target) as mock_mask_secret:
Review Comment:
NGL, this felt good.
--
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]