Skip to content

Commit

Permalink
name test appropriately
Browse files Browse the repository at this point in the history
  • Loading branch information
emmyoop committed Apr 23, 2024
1 parent 7792253 commit adec38f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/functional/dependencies/test_dependency_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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)
Expand Down

0 comments on commit adec38f

Please sign in to comment.