@@ -134,30 +134,6 @@ def _test_direct_urls(env):
134134 },
135135 )
136136 env .expect .that_dict (got ).contains_exactly ({
137- "foo" : [
138- struct (
139- distribution = "foo" ,
140- extra_pip_args = [],
141- sdist = None ,
142- is_exposed = True ,
143- srcs = struct (
144- marker = "" ,
145- requirement = "foo[extra] @ https://some-url/package.whl" ,
146- requirement_line = "foo[extra] @ https://some-url/package.whl" ,
147- shas = [],
148- version = "" ,
149- url = "https://some-url/package.whl" ,
150- filename = "package.whl" ,
151- ),
152- target_platforms = ["linux_x86_64" ],
153- whls = [struct (
154- url = "https://some-url/package.whl" ,
155- filename = "package.whl" ,
156- sha256 = "" ,
157- yanked = False ,
158- )],
159- ),
160- ],
161137 "bar" : [
162138 struct (
163139 distribution = "bar" ,
@@ -206,7 +182,30 @@ def _test_direct_urls(env):
206182 )],
207183 ),
208184 ],
209- })
185+ "foo" : [
186+ struct (
187+ distribution = "foo" ,
188+ extra_pip_args = [],
189+ sdist = None ,
190+ is_exposed = True ,
191+ srcs = struct (
192+ marker = "" ,
193+ requirement = "foo[extra] @ https://some-url/package.whl" ,
194+ requirement_line = "foo[extra] @ https://some-url/package.whl" ,
195+ shas = [],
196+ version = "" ,
197+ url = "https://some-url/package.whl" ,
198+ filename = "package.whl" ,
199+ ),
200+ target_platforms = ["linux_x86_64" ],
201+ whls = [struct (
202+ url = "https://some-url/package.whl" ,
203+ filename = "package.whl" ,
204+ sha256 = "" ,
205+ yanked = False ,
206+ )],
207+ ),
208+ ], })
210209
211210_tests .append (_test_direct_urls )
212211
0 commit comments