Skip to content

Commit

Permalink
Use stdout as an output in test_compile_recursive_extras
Browse files Browse the repository at this point in the history
  • Loading branch information
atugushev committed Aug 6, 2023
1 parent f1304aa commit d4074d1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_cli_compile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2947,20 +2947,22 @@ def test_compile_recursive_extras(runner, tmp_path, current_resolver):
[
"--no-header",
"--no-annotate",
"--no-emit-find-links",
"--no-emit-options",
"--extra",
"dev",
"--find-links",
os.fspath(MINIMAL_WHEELS_PATH),
os.fspath(tmp_path / "pyproject.toml"),
"--output-file",
"-",
],
)
expected = rf"""foo @ {tmp_path.as_uri()}
small-fake-a==0.2
small-fake-b==0.3
"""
assert out.exit_code == 0
assert expected == out.stderr
assert expected == out.stdout


def test_config_option(pip_conf, runner, tmp_path, make_config_file):
Expand Down

0 comments on commit d4074d1

Please sign in to comment.