Skip to content

Commit

Permalink
Update deprecated json method in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nanglo123 committed Sep 12, 2024
1 parent 5269fcd commit 7f74f00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_model_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ def test_stratify_observable_api(self):
structure=[],
cartesian_control=True)

query_json = {"template_model": json.loads(tm.json())}
query_json = {"template_model": json.loads(tm.model_dump_json())}
query_json.update(strata_options)

response = self.client.post("/api/stratify", json=query_json)
Expand Down

0 comments on commit 7f74f00

Please sign in to comment.