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

Functions

 _burn_and_abort ()
None test_a_burn_and_an_abort_raise_nothing_and_keep_their_mass ()
None test_a_dead_engine_does_not_push_back_up_the_mains ()
None test_a_full_fuel_tank_does_not_fill_from_the_chamber ()
None test_each_check_fires_on_its_condition ()
None test_a_flag_is_an_episode ()

Variables

 needs_le4

Detailed Description

The watcher (``feedtwin.session.watch``), and the faults it found first.

A clean LE4 (6) burn and abort raises no flag and keeps its mass; each check
fires when its condition is put into a real stand; flags are episodes, not
ticks. And the two faults the watcher turned up on its first runs:

* The chamber of a drawing with no engine model counted any flow touching it
  as "lit", including flow *out* of it: after a burn it stayed at its drawn
  385 psia, and an Engine Abort's open mains drove 3 kg/s from the dead engine
  back into the tanks -- 16 kg the mass balance could not account for.
* A tank the cart loads through the drawing credited any liquid arriving at
  its outlet, wherever it came from: at Fire on unpressed tanks the chamber's
  push-back filled a full fuel tank 46 g a second, and on a longer pad
  overfilled it ("tank is overfull") and stopped the stand.

Function Documentation

◆ _burn_and_abort()

test_watch._burn_and_abort ( )
protected

◆ test_a_burn_and_an_abort_raise_nothing_and_keep_their_mass()

None test_watch.test_a_burn_and_an_abort_raise_nothing_and_keep_their_mass ( )

Definition at line 49 of file test_watch.py.

References _burn_and_abort().

◆ test_a_dead_engine_does_not_push_back_up_the_mains()

None test_watch.test_a_dead_engine_does_not_push_back_up_the_mains ( )
After burnout the chamber is the air, not its drawn 385 psia.

Definition at line 57 of file test_watch.py.

References _burn_and_abort().

◆ test_a_flag_is_an_episode()

None test_watch.test_a_flag_is_an_episode ( )
Held for its hold before it opens; closed once gone for a second; one
row however many ticks it lasts.

Definition at line 108 of file test_watch.py.

◆ test_a_full_fuel_tank_does_not_fill_from_the_chamber()

None test_watch.test_a_full_fuel_tank_does_not_fill_from_the_chamber ( )

Definition at line 66 of file test_watch.py.

◆ test_each_check_fires_on_its_condition()

None test_watch.test_each_check_fires_on_its_condition ( )

Definition at line 83 of file test_watch.py.

Variable Documentation

◆ needs_le4

test_watch.needs_le4
Initial value:
1= pytest.mark.skipif(
2 not (DRAWING.exists() and TABLES.is_dir()), reason="LE4 fixture or tables absent"
3)

Definition at line 29 of file test_watch.py.