Skip to content

Commit bb87f04

Browse files
committed
fixup! tests/fmt(test[path-redaction]): assert sanitized fmt logs
1 parent b85b236 commit bb87f04

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/cli/test_fmt.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,10 @@ def test_format_config_file_missing_config(
304304
"""Formatting without available config should emit an error."""
305305
monkeypatch.chdir(tmp_path)
306306

307+
home_config = pathlib.Path("~/.vcspull.yaml").expanduser()
308+
if home_config.exists():
309+
home_config.unlink()
310+
307311
with caplog.at_level(logging.ERROR):
308312
format_config_file(None, write=False, format_all=False)
309313

0 commit comments

Comments
 (0)