You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2022/05/11 19:16:57 UTC
[airflow] branch main updated: Fixed test and remove pytest.mark.xfail for test_exc_tb (#23650)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new e16eca2deb Fixed test and remove pytest.mark.xfail for test_exc_tb (#23650)
e16eca2deb is described below
commit e16eca2debd3bcefb809a7f998506eb28ee277cb
Author: Kanthi <su...@gmail.com>
AuthorDate: Wed May 11 15:16:49 2022 -0400
Fixed test and remove pytest.mark.xfail for test_exc_tb (#23650)
---
tests/utils/log/test_secrets_masker.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tests/utils/log/test_secrets_masker.py b/tests/utils/log/test_secrets_masker.py
index e60bdc60ac..268e1dfcae 100644
--- a/tests/utils/log/test_secrets_masker.py
+++ b/tests/utils/log/test_secrets_masker.py
@@ -114,7 +114,6 @@ class TestSecretsMasker:
"""
)
- @pytest.mark.xfail(reason="Cannot filter secrets in traceback source")
def test_exc_tb(self, logger, caplog):
"""
Show it is not possible to filter secrets in the source.
@@ -142,7 +141,7 @@ class TestSecretsMasker:
ERROR Err
Traceback (most recent call last):
File ".../test_secrets_masker.py", line {line}, in test_exc_tb
- raise RuntimeError("Cannot connect to user:***)
+ raise RuntimeError("Cannot connect to user:password")
RuntimeError: Cannot connect to user:***
"""
)