Skip to content

Commit

Permalink
Update test_schema.py
Browse files Browse the repository at this point in the history
  • Loading branch information
EthanSteinberg authored May 1, 2024
1 parent f116c57 commit 042d7e6
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions tests/test_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,13 @@ def test_patient_schema():
patient_data = [
{
"patient_id": 123,
"static_measurements": [{
"code": "some_static_code",
"text_value": "example",
"numeric_value": 1.0,
"datetime_value": datetime.datetime(2019, 1, 1, 0, 0, 0),
"metadata": None,
}],
"events": [{ # Nested list for events
"time": datetime.datetime(2020, 1, 1, 12, 0, 0),
"measurements": [{ # Nested list for measurements
"code": "some_code",
"text_value": "Example",
"numeric_value": 10.0,
"datetime_value": datetime.datetime(2020, 1, 1, 12, 0, 0),
"metadata": None
}]
"code": "some_code",
"text_value": "Example",
"numeric_value": 10.0,
"datetime_value": datetime.datetime(2020, 1, 1, 12, 0, 0),
"properties": None
}]
}
]
Expand Down

0 comments on commit 042d7e6

Please sign in to comment.