Skip to content

Commit 41320a1

Browse files
[pre-commit.ci lite] apply automatic fixes
1 parent 5f2761e commit 41320a1

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_config.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -625,9 +625,7 @@ def test_invalid_discord_log_channel_webhook_url(
625625
RuntimeSettings: Final[type[Settings]] = config._settings_class_factory() # noqa: SLF001
626626

627627
with EnvVariableDeleter("DISCORD_LOG_CHANNEL_WEBHOOK_URL"):
628-
os.environ["DISCORD_LOG_CHANNEL_WEBHOOK_URL"] = (
629-
invalid_discord_log_channel_url
630-
)
628+
os.environ["DISCORD_LOG_CHANNEL_WEBHOOK_URL"] = invalid_discord_log_channel_url
631629

632630
with pytest.raises(
633631
ImproperlyConfiguredError,

0 commit comments

Comments
 (0)