STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_pages_and_mates Namespace Reference

Functions

Any _two_pages (str pair="both")
tuple[float, Any] _flow (Any payload)
None test_a_paired_disconnect_joins_the_cart_page_to_the_vehicle_page (str pair)
None test_unpaired_the_two_pages_are_two_systems ()
None test_a_drawing_that_pairs_nothing_builds_as_before ()
None test_halves_naming_different_partners_are_left_apart_and_said_so ()
None test_a_cart_drawn_on_the_gse_page_charges_the_copv_itself ()
None test_halves_joined_by_their_own_line_are_coupled_and_nothing_is_said ()

Detailed Description

A drawing on two pages, joined where the stand joins: a mated disconnect.

pid-designer draws the vehicle and the GSE cart on separate pages and has no
off-page connector; the coupling between them is a quick-disconnect on each page,
paired through ``options.pairedWith``. Read page-blind, the two halves each had a
free side and the cart could not feed the vehicle. Mated (``_mate_disconnects``),
their free sides are one place.

Checked by flow: gas from a cart bottle on the GSE page reaches a vent on the
vehicle page only through the pair, and a drawing that pairs nothing builds
exactly as before.

Function Documentation

◆ _flow()

◆ _two_pages()

◆ test_a_cart_drawn_on_the_gse_page_charges_the_copv_itself()

None test_pages_and_mates.test_a_cart_drawn_on_the_gse_page_charges_the_copv_itself ( )
LE4's layout plus its cart on a GSE page: a bank bottle, the table's own
`GSE High Press Control` valve, and a paired disconnect onto the COPV. In GN2
High Press the bank charges the COPV through the drawing, and the session's
built-in charge (which stands in for an undrawn cart) is off -- or the bottle
would be filled twice.

Definition at line 89 of file test_pages_and_mates.py.

◆ test_a_drawing_that_pairs_nothing_builds_as_before()

None test_pages_and_mates.test_a_drawing_that_pairs_nothing_builds_as_before ( )

Definition at line 70 of file test_pages_and_mates.py.

References _two_pages().

◆ test_a_paired_disconnect_joins_the_cart_page_to_the_vehicle_page()

None test_pages_and_mates.test_a_paired_disconnect_joins_the_cart_page_to_the_vehicle_page ( str pair)

Definition at line 56 of file test_pages_and_mates.py.

References _flow(), and _two_pages().

◆ test_halves_joined_by_their_own_line_are_coupled_and_nothing_is_said()

None test_pages_and_mates.test_halves_joined_by_their_own_line_are_coupled_and_nothing_is_said ( )
A pair a drawn line already joins (LE4's HP-QD-A and HP-QD-B): coupled on
the page, as pid-designer reads it, with nothing to say. The twin found no
free side to mate and warned the pair was left unmated.

Definition at line 150 of file test_pages_and_mates.py.

References _flow(), and _two_pages().

◆ test_halves_naming_different_partners_are_left_apart_and_said_so()

None test_pages_and_mates.test_halves_naming_different_partners_are_left_apart_and_said_so ( )

Definition at line 80 of file test_pages_and_mates.py.

References _flow(), and _two_pages().

◆ test_unpaired_the_two_pages_are_two_systems()

None test_pages_and_mates.test_unpaired_the_two_pages_are_two_systems ( )
The test can fail: without the pairing nothing crosses.

Definition at line 63 of file test_pages_and_mates.py.

References _flow(), and _two_pages().