Skip to content

PreciseFlex wire tests cleanup: build the setup lists from one list - #1579

Merged
BioCam merged 1 commit into
mainfrom
precise-flex-tests-setup-lists
Nov 1, 2026
Merged

BioCam merged 1 commit into
mainfrom
precise-flex-tests-setup-lists

Conversation

@BioCam

@BioCam BioCam commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

The Problem

The PreciseFlex wire tests spell out the same setup commands four times: _SETUP, _SETUP_SKIP_HOME and _RAIL_SETUP in wire_tests.py, and _SETUP_WITHOUT_VISION in vision_wire_tests.py. _RAIL_SETUP is identical to _SETUP. A change to what setup sends has to be repeated in all four.

PR Content/Solution

  • wire_tests.py: _SETUP and _SETUP_SKIP_HOME are built from _SETUP_BEFORE_HOME and _SETUP_AFTER_HOME.
  • wire_tests.py: _RAIL_SETUP is removed, and test_setup_with_rail checks against _SETUP.
  • vision_wire_tests.py: _SETUP_WITHOUT_VISION is built from _SETUP in wire_tests.py.

Every list holds the same commands as before, and no driver code changes.

🤖 Generated with Claude Code

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@BioCam
BioCam marked this pull request as ready for review November 1, 2026 18:42
@BioCam
BioCam requested a review from a team as a code owner November 1, 2026 18:42
@BioCam
BioCam merged commit 50c9fd9 into main Nov 1, 2026
27 checks passed
@BioCam
BioCam deleted the precise-flex-tests-setup-lists branch November 1, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant