fix pants-plugins/pack_metadata test
@@ -84,21 +84,21 @@ def test_find_putative_targets(rule_runner: RuleRunner) -> None:
PackMetadata,
path="packs/foo",
name="metadata",
- triggering_sources=["packs/foo/pack.yaml"],
+ triggering_sources=["pack.yaml"],
kwargs={"name": "metadata"},
),
PutativeTarget.for_target_type(
PackMetadata,
path="packs/bar",
name="metadata",
- triggering_sources=["packs/bar/pack.yaml"],
+ triggering_sources=["pack.yaml"],
kwargs={"name": "metadata"},
),
PutativeTarget.for_target_type(
PackMetadata,
path="other/deep/baz",
name="metadata",
- triggering_sources=["other/deep/baz/pack.yaml"],
+ triggering_sources=["pack.yaml"],
kwargs={"name": "metadata"},
),
]
