mirror of
https://github.com/Sea-Haven-Industries/afterhours-shift-manager.git
synced 2026-09-30 06:43:12 +00:00
style: apply formatter
This commit is contained in:
parent
6d4c501ce1
commit
0de3fac083
1 changed files with 3 additions and 1 deletions
|
|
@ -19,7 +19,9 @@ def test_dev_stage_disables_effects(monkeypatch):
|
|||
|
||||
def test_dev_slack_token_does_not_read_secrets(monkeypatch):
|
||||
monkeypatch.setenv("STAGE", "dev")
|
||||
monkeypatch.setenv("SLACK_BOT_TOKEN_SECRET", "afterhours-shift-manager/slack-bot-token")
|
||||
monkeypatch.setenv(
|
||||
"SLACK_BOT_TOKEN_SECRET", "afterhours-shift-manager/slack-bot-token"
|
||||
)
|
||||
read = MagicMock(side_effect=AssertionError("secret read"))
|
||||
monkeypatch.setattr("shared.side_effects.get_secret", read)
|
||||
assert slack_token() is None
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue