Skip to content

Commit

Permalink
add content assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrOertlin committed Dec 8, 2023
1 parent 9ce177c commit 5fb33e7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/crud/test_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ def test_create_step(valid_step: Step, mock_adapter: ArnoldAdapter):
step: dict = mock_adapter.step_collection.find_one({"prep_id": valid_step.prep_id})
assert step
assert isinstance(step, dict)
assert Step.model_validate(step).prep_id == valid_step.prep_id


def test_get_step(valid_step: Step, mock_adapter: ArnoldAdapter):
Expand Down

0 comments on commit 5fb33e7

Please sign in to comment.