feat(subjects): add visit drawer and editable screening dates
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def test_new_ae_records_default_to_follow_up_status():
|
||||
crud_source = Path("app/crud/ae.py").read_text(encoding="utf-8")
|
||||
model_source = Path("app/models/ae.py").read_text(encoding="utf-8")
|
||||
|
||||
assert 'status="FOLLOW_UP"' in crud_source
|
||||
assert 'default="FOLLOW_UP"' in model_source
|
||||
assert 'status="NEW"' not in crud_source
|
||||
assert 'default="NEW"' not in model_source
|
||||
Reference in New Issue
Block a user