From adec38f416ba3fd1345ae138277e644c50d7af8e Mon Sep 17 00:00:00 2001 From: Emily Rockman Date: Tue, 23 Apr 2024 14:50:22 -0500 Subject: [PATCH] name test appropriately --- tests/functional/dependencies/test_dependency_secrets.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/dependencies/test_dependency_secrets.py b/tests/functional/dependencies/test_dependency_secrets.py index 7e0b592409b..02aa1c9fb25 100644 --- a/tests/functional/dependencies/test_dependency_secrets.py +++ b/tests/functional/dependencies/test_dependency_secrets.py @@ -5,7 +5,7 @@ from dbt_common.constants import SECRET_ENV_PREFIX -class TestAllowSecretProfilePackage: +class TestSecretInPackage: @pytest.fixture(scope="class", autouse=True) def setUp(self): os.environ[SECRET_ENV_PREFIX + "FOR_LOGGING"] = "super secret" @@ -23,7 +23,7 @@ def packages(self): ] } - def test_allow_secrets(self, project): + def test_mask_secrets(self, project): _, log_output = run_dbt_and_capture(["deps"]) # this will not be written to logs assert not ("super secret" in log_output)