Skip to content

Commit

Permalink
Fix string constant.
Browse files Browse the repository at this point in the history
  • Loading branch information
peterallenwebb committed Feb 1, 2024
1 parent 0a29faa commit cfcb8fb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/test_invocation_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ def test_invocation_context_secrets():
test_env = {
f"{SECRET_ENV_PREFIX}_VAR_1": "secret1",
f"{SECRET_ENV_PREFIX}VAR_2": "secret2",
f"NON_SECRET": "nonsecret",
f"foo{SECRET_ENV_PREFIX}": "nonsecret",
"NON_SECRET": "non-secret",
f"foo{SECRET_ENV_PREFIX}": "non-secret",
}
ic = InvocationContext(env=test_env)
assert set(ic.env_secrets) == set(["secret1", "secret2"])

0 comments on commit cfcb8fb

Please sign in to comment.