pytest tests.model.test_tools
- tests.model.test_tools.decode_bloodpressure(bp_str: str) tuple[int, int, str]
Decodes systolic and diastolic integer values from the provided string, which are expected to be in the form <systolic>/<diastolic> with an UOM optionally appended
- Parameters
bp_str (str) – blood pressure in string form
- Returns
the systolic and diastolic values
- Return type
tuplec[int, int]