Skip to content

Commit 60c95a2

Browse files
Merge branch 'main' into cf-go-language-support
2 parents a5aa75d + 1ba6af0 commit 60c95a2

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

tests/test_help_banner.py

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,21 @@
44

55
def test_help_displays_logo() -> None:
66
result = subprocess.run(
7-
[sys.executable, "-c", "from codeflash.main import main; main()", "--help"], capture_output=True, text=True
7+
[sys.executable, "-c", "from codeflash.main import main; main()", "--help"],
8+
capture_output=True,
9+
text=True,
10+
encoding="utf-8",
811
)
912
assert result.returncode == 0
1013
assert "codeflash.ai" in result.stdout
1114

1215

1316
def test_help_short_flag_displays_logo() -> None:
1417
result = subprocess.run(
15-
[sys.executable, "-c", "from codeflash.main import main; main()", "-h"], capture_output=True, text=True
18+
[sys.executable, "-c", "from codeflash.main import main; main()", "-h"],
19+
capture_output=True,
20+
text=True,
21+
encoding="utf-8",
1622
)
1723
assert result.returncode == 0
1824
assert "codeflash.ai" in result.stdout

0 commit comments

Comments
 (0)