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

Functions

 test_the_feed_twins_library_is_listed_and_deduplicated (tmp_path, monkeypatch)
 _image_env ()
 test_the_deployed_layer_x_reads_the_twins_library_and_its_featured_stand ()
 test_the_drawing_summary_gives_the_droop_the_twin_runs_and_says_when_it_is_the_default ()
 test_a_missing_drawing_source_is_said_not_listed_as_nothing (tmp_path, monkeypatch)

Detailed Description

Layer X lists the feed twin's library (2026-10-03: "pull from it and trust it").

Function Documentation

◆ _image_env()

test_layerx_feedtwin_library._image_env ( )
protected
The engine-design-api container's environment, as Dockerfile.api and docker-compose.yml set it, and
where its files come from: the image's COPY destinations and the compose volume mounts.

Definition at line 37 of file test_layerx_feedtwin_library.py.

Referenced by test_the_deployed_layer_x_reads_the_twins_library_and_its_featured_stand().

◆ test_a_missing_drawing_source_is_said_not_listed_as_nothing()

test_layerx_feedtwin_library.test_a_missing_drawing_source_is_said_not_listed_as_nothing ( tmp_path,
monkeypatch )

Definition at line 91 of file test_layerx_feedtwin_library.py.

◆ test_the_deployed_layer_x_reads_the_twins_library_and_its_featured_stand()

test_layerx_feedtwin_library.test_the_deployed_layer_x_reads_the_twins_library_and_its_featured_stand ( )
In compose, Layer X resolved the twin's library and sample set to /feed-twin/backend/..., which the
image does not have: production Layer X listed none of the cockpit's drawings or pulls, and no featured
stand (R003). Every drawing source must be set to a place the container has.

Definition at line 59 of file test_layerx_feedtwin_library.py.

References _image_env().

◆ test_the_drawing_summary_gives_the_droop_the_twin_runs_and_says_when_it_is_the_default()

test_layerx_feedtwin_library.test_the_drawing_summary_gives_the_droop_the_twin_runs_and_says_when_it_is_the_default ( )
The rail's 'Dome regulator' row was blank and its hover said 'droop — psi (from the drawing)' while the
burn ran the twin's 20 psi library default (feedtwin.pid.network FALLBACKS).

Definition at line 78 of file test_layerx_feedtwin_library.py.

◆ test_the_feed_twins_library_is_listed_and_deduplicated()

test_layerx_feedtwin_library.test_the_feed_twins_library_is_listed_and_deduplicated ( tmp_path,
monkeypatch )

Definition at line 9 of file test_layerx_feedtwin_library.py.