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

Functions

Any _payload ()
Any _duplicated (str page="Rocket", str copy_name="Rocket (copy)")
None test_two_versions_of_the_rocket_are_refused_and_the_pages_named (bool cut)
None test_the_drawing_with_one_rocket_builds ()
None test_a_tag_two_driven_valves_share_is_said ()

Variables

str DRAWING = Path(__file__).resolve().parent / "fixtures" / "le4_rocket_and_gse.json"

Detailed Description

One drawing, one vehicle.

pid-designer's Duplicate page is offered for "another version of the same stand
-- the hotfire and the launch configuration". It keeps every tag, and its
duplicate-tag check is per page, so the copy passes there. The twin builds every
page into one network: LE4 with its Rocket page duplicated built as two rockets
sharing seven signals, no valve bound, and Fire sat at 0 N with no message.

Function Documentation

◆ _duplicated()

Any test_two_vehicles._duplicated ( str page = "Rocket",
str copy_name = "Rocket (copy)" )
protected
``page`` copied as duplicatePage does: fresh ids, tags kept, pairs and
clips inside the page remapped.

Definition at line 30 of file test_two_vehicles.py.

References _payload().

Referenced by test_a_tag_two_driven_valves_share_is_said(), and test_two_versions_of_the_rocket_are_refused_and_the_pages_named().

◆ _payload()

Any test_two_vehicles._payload ( )
protected

Definition at line 26 of file test_two_vehicles.py.

Referenced by _duplicated(), and test_the_drawing_with_one_rocket_builds().

◆ test_a_tag_two_driven_valves_share_is_said()

None test_two_vehicles.test_a_tag_two_driven_valves_share_is_said ( )
A copied cart page has one engine, so it builds -- and the solenoids it
copied answer one signal between them, which is worth a line.

Definition at line 78 of file test_two_vehicles.py.

References _duplicated().

◆ test_the_drawing_with_one_rocket_builds()

None test_two_vehicles.test_the_drawing_with_one_rocket_builds ( )

Definition at line 73 of file test_two_vehicles.py.

References _payload().

◆ test_two_versions_of_the_rocket_are_refused_and_the_pages_named()

None test_two_vehicles.test_two_versions_of_the_rocket_are_refused_and_the_pages_named ( bool cut)

Definition at line 64 of file test_two_vehicles.py.

References _duplicated().

Variable Documentation

◆ DRAWING

str test_two_vehicles.DRAWING = Path(__file__).resolve().parent / "fixtures" / "le4_rocket_and_gse.json"

Definition at line 23 of file test_two_vehicles.py.