|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| test_numbers_print_as_javascript_prints_them (value, expected) | |
| test_csv_shape () | |
| _client (session) | |
| test_endpoint_serves_each_layer_and_refuses_without_results () | |
Variables | |
| list | NODE |
Layer 2/3 pressure curves as CSV, written by the backend (GET /api/optimizer/layer{2,3}/results.csv).
This file used to be built in the browser. The format has to stay what the browser
wrote, including JavaScript's way of printing numbers, so the expected strings
below are what Node's ``String(n)`` gives for each value (recorded from Node, not
from the code under test).
|
protected |
Definition at line 45 of file test_results_csv.py.
Referenced by test_endpoint_serves_each_layer_and_refuses_without_results().
| test_results_csv.test_csv_shape | ( | ) |
Definition at line 36 of file test_results_csv.py.
| test_results_csv.test_endpoint_serves_each_layer_and_refuses_without_results | ( | ) |
Definition at line 54 of file test_results_csv.py.
References _client().
| test_results_csv.test_numbers_print_as_javascript_prints_them | ( | value, | |
| expected ) |
Definition at line 32 of file test_results_csv.py.
| list test_results_csv.NODE |
Definition at line 22 of file test_results_csv.py.