Skip to content

Commit

Permalink
Fix CLI test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkLight1337 committed Jun 5, 2024
1 parent 81877ec commit e670012
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import subprocess
import sys


def test_help():
assert subprocess.call(['python', '-m', 'pycm', '--help']) == 0
assert subprocess.call(['pycm', '--help']) == 0
assert subprocess.call(['pycm', '--help'], shell=sys.platform == "win32") == 0

0 comments on commit e670012

Please sign in to comment.