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
3 changes: 2 additions & 1 deletion scss/tests/test_cli.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
"""Test the command-line tool from the outside."""
import sys
from subprocess import PIPE, Popen

# TODO: this needs way, way, way, way more tests


def test_stdio():
proc = Popen(
['python', '-m', 'scss.tool', '-C'],
[sys.executable, '-m', 'scss.tool', '-C'],
stdin=PIPE,
stdout=PIPE,
# this automatically handles encoding/decoding on py3
Expand Down