Skip to content

Commit c4fceb9

Browse files
committed
fixup test
1 parent ecf5a5b commit c4fceb9

File tree

1 file changed

+29
-20
lines changed

1 file changed

+29
-20
lines changed

tests/pypi/extension/extension_tests.bzl

Lines changed: 29 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -407,26 +407,35 @@ some_pkg==0.0.1
407407
pypi.is_reproducible().equals(False)
408408
pypi.exposed_packages().contains_exactly({"pypi": ["simple", "some_pkg"]})
409409
pypi.hub_group_map().contains_exactly({"pypi": {}})
410-
pypi.hub_whl_map().contains_exactly({"pypi": {
411-
"simple": [
412-
struct(
413-
config_setting = "//_config:is_python_3.15",
414-
filename = "simple-0.0.1-py3-none-any.whl",
415-
repo = "pypi_315_simple_py3_none_any_deadbaaf",
416-
target_platforms = None,
417-
version = "3.15",
418-
),
419-
struct(
420-
config_setting = "//_config:is_python_3.15",
421-
filename = "simple-0.0.1.tar.gz",
422-
repo = "pypi_315_simple_sdist_deadbeef",
423-
target_platforms = None,
424-
version = "3.15",
425-
),
426-
],
427-
"some_pkg": [
428-
],
429-
}})
410+
pypi.hub_whl_map().contains_exactly({
411+
"pypi": {
412+
"simple": [
413+
struct(
414+
config_setting = "//_config:is_python_3.15",
415+
filename = "simple-0.0.1-py3-none-any.whl",
416+
repo = "pypi_315_simple_py3_none_any_deadbaaf",
417+
target_platforms = None,
418+
version = "3.15",
419+
),
420+
struct(
421+
config_setting = "//_config:is_python_3.15",
422+
filename = "simple-0.0.1.tar.gz",
423+
repo = "pypi_315_simple_sdist_deadbeef",
424+
target_platforms = None,
425+
version = "3.15",
426+
),
427+
],
428+
"some_pkg": [
429+
struct(
430+
config_setting = "//_config:is_python_3.15",
431+
filename = None,
432+
repo = "pypi_315_some_pkg",
433+
target_platforms = None,
434+
version = "3.15",
435+
),
436+
],
437+
},
438+
})
430439
pypi.whl_libraries().contains_exactly({
431440
"pypi_315_simple_py3_none_any_deadbaaf": {
432441
"dep_template": "@pypi//{name}:{target}",

0 commit comments

Comments
 (0)