Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,11 +243,13 @@ def test_cli_on_folder_with_evil_logging():
result = subprocess.run(
" ".join(cmd), # Pass as a string if using shell=True and complex commands
capture_output=True,
shell=True,
shell=True,
text=True,
cwd=folder_with_evil_logging,
cwd=folder_with_evil_logging,
)
print(result)
assert result.returncode == 0
assert result.stderr == ""
# assert 0
stdout = result.stdout
rich_print(stdout)
assert "folder_with_evil_logging" in stdout or "Root" in stdout
Loading