STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
test_daq_hookup.py File Reference

Go to the source code of this file.

Namespaces

namespace  test_daq_hookup

Functions

Any test_daq_hookup._stand ()
StateMachine test_daq_hookup._machine ()
dict[str, str] test_daq_hookup._valve_labels (Any model)
None test_daq_hookup.test_a_wired_hookup_binds_exactly_its_connectors ()
None test_daq_hookup.test_a_session_on_a_wired_hookup_opens_only_the_wired_valve ()
None test_daq_hookup.test_a_hookup_without_a_box_is_written_and_bound_as_before ()
None test_daq_hookup.test_a_wired_hookup_with_its_own_table_round_trips ()
None test_daq_hookup.test_a_box_that_cannot_be_is_refused (list[tuple[str, int, str, str]] channels, str said)
None test_daq_hookup.test_the_same_box_without_the_fault_is_accepted ()
None test_daq_hookup.test_an_edited_table_reads_back_as_the_csv_machine ()
None test_daq_hookup.test_a_table_that_contradicts_itself_is_refused (Any spoil, str said)
None test_daq_hookup.test_a_state_flagged_abort_is_reachable_and_the_name_no_longer_decides ()
None test_daq_hookup.test_without_flags_an_abort_is_whatever_says_abort (Path tmp_path)
None test_daq_hookup.test_the_shipped_panel_places_the_states_and_flags_the_aborts ()
Any test_daq_hookup._le4 (bool cut)
None test_daq_hookup.test_on_the_vehicle_the_box_keeps_the_rocket_and_frees_the_cut_rows ()
None test_daq_hookup.test_a_connector_joins_its_row_as_a_person_reads_the_name ()
None test_daq_hookup.test_an_abort_flag_written_as_no_is_no (Any written)
None test_daq_hookup.test_two_rows_one_name_apart_from_case_are_refused ()
None test_daq_hookup.test_on_the_vehicle_a_cut_row_is_matched_whatever_case_its_connector_has ()
None test_daq_hookup.test_on_the_vehicle_an_unwired_row_still_drives_the_tank_top_stand_in ()
( None) test_daq_hookup.test_a_connector_whose_symbol_left_the_drawing_is_matched_by_name_and_said ()
None test_daq_hookup.test_a_row_is_built_in_only_where_the_stand_acts_on_it (bool cut)
dict[str, Any] test_daq_hookup._renamed (dict[str, Any] table, str old, str new)
None test_daq_hookup.test_a_table_is_warned_for_only_what_it_lacks ()

Variables

 test_daq_hookup.HERE = Path(__file__).resolve().parent
 test_daq_hookup.STAR = HERE.parents[2]
str test_daq_hookup.STAND = STAR / "feed-twin" / "backend" / "diagrams" / "ethalox_stand.json"
str test_daq_hookup.TABLES = STAR / "feed-twin" / "backend" / "statemachines"
str test_daq_hookup.LE4 = HERE / "fixtures" / "le4_rocket_and_gse.json"
 test_daq_hookup.needs_stand
 test_daq_hookup.needs_tables = pytest.mark.skipif(not TABLES.is_dir(), reason="no state tables")
 test_daq_hookup.ABORTS = frozenset({"Engine Abort", "GSE Abort", "Emergency Abort"})