test(gazelle): Update remove_invalid_(binary|library) gazelle tests. by dougthor42 · Pull Request #3601 · bazel-contrib/rules_python

@dougthor42

These changes will make a little more sense in a followup PR that
finishes the "delete invalid targets" work started in bazel-contrib#3046. In that PR,
I pushed back on changes that resulted in py_test and py_library targets
getting removed if they were invalid (see
bazel-contrib#3046 (review)
and
bazel-contrib#3046 (comment)).

This PR updates tests by adding some always-valid targets and does some
light renaming of the targets.

gemini-code-assist[bot]

bot reviewed Feb 16, 2026

rickeylev