Prefill Doris Barbell routine log timestamps
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import json
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
from fastapi.testclient import TestClient
|
||||
@@ -390,6 +391,7 @@ def test_seeded_routine_can_render_prefilled_log_sheet(tmp_path: Path) -> None:
|
||||
assert 'name="exercise_0_set_0_reps"' in body
|
||||
assert 'name="exercise_0_set_0_weight_lbs"' in body
|
||||
assert 'value="10"' in body
|
||||
assert re.search(r'name="performed_at" value="\d{4}-\d{2}-\d{2}T\d{2}:\d{2}"', body)
|
||||
|
||||
|
||||
def test_seeded_routine_log_submission_creates_structured_workout(tmp_path: Path) -> None:
|
||||
|
||||
Reference in New Issue
Block a user