Skip to content

Commit

Permalink
Merge pull request jazzband#1955 from atugushev/pr/1954
Browse files Browse the repository at this point in the history
Use stdout as an output in test_compile_recursive_extras
  • Loading branch information
webknjaz committed Aug 6, 2023
2 parents f1304aa + d4074d1 commit 090f419
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 090f419

Please sign in to comment.