amoghrajesh commented on code in PR #54449:
URL: https://github.com/apache/airflow/pull/54449#discussion_r2284922466
##########
airflow-core/tests/unit/cli/commands/test_task_command.py:
##########
@@ -174,7 +174,14 @@ def test_test_filters_secrets(self, capsys):
Output should be filtered by SecretsMasker.
"""
password = "somepassword1234!"
- logging.getLogger("airflow.task").filters[0].add_mask(password)
+ masker = logging.getLogger("airflow.task").filters[0]
+ masker.add_mask(password)
+
+ from airflow._shared.secrets_masker.secrets_masker import
_secrets_masker
+
+ shared_masker = _secrets_masker()
+ shared_masker.add_mask(password)
+
Review Comment:
Handled in 90669c019703728f7c7b29e4c13b031c2a26ef00
--
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]