File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -96,9 +96,13 @@ def test_build_deps_use_proxy_from_cli(
96
96
script : PipTestEnvironment , capfd : pytest .CaptureFixture [str ], data : TestData
97
97
) -> None :
98
98
with proxy .Proxy (port = 0 , num_acceptors = 1 , plugins = [AccessLogPlugin ]) as proxy1 :
99
- args = ["wheel" , "-v" , str (data .packages / "pep517_setup_and_pyproject" )]
100
- args .extend (["--proxy" , f"http://127.0.0.1:{ proxy1 .flags .port } " ])
101
- result = script .pip (* args )
99
+ result = script .pip (
100
+ "wheel" ,
101
+ "-v" ,
102
+ str (data .packages / "pep517_setup_and_pyproject" ),
103
+ "--proxy" ,
104
+ f"http://127.0.0.1:{ proxy1 .flags .port } " ,
105
+ )
102
106
103
107
wheel_path = script .scratch / "pep517_setup_and_pyproject-1.0-py3-none-any.whl"
104
108
result .did_create (wheel_path )
You can’t perform that action at this time.
0 commit comments