|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| test_validation_list_becomes_one_sentence () | |
| test_a_malformed_request_answers_with_a_sentence () | |
| test_the_field_paths_ride_along_for_pages_with_their_own_names () | |
Every error response is {"detail": "<one plain sentence>"} (docs/investor contract C3).
FastAPI's own request-validation failures used to send `detail` as a list of {loc, msg, type}
objects, which a page rendered as "[object Object]".
| test_error_sentences.test_a_malformed_request_answers_with_a_sentence | ( | ) |
Definition at line 23 of file test_error_sentences.py.
| test_error_sentences.test_the_field_paths_ride_along_for_pages_with_their_own_names | ( | ) |
Definition at line 31 of file test_error_sentences.py.
| test_error_sentences.test_validation_list_becomes_one_sentence | ( | ) |
Definition at line 12 of file test_error_sentences.py.