Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
Rieven committed Oct 28, 2024
1 parent 5d10dc1 commit 7b7b867
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rocky/tests/objects/test_objects_edit.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ def test_ooi_edit_report_recipe_get(rf, client_member, mock_organization_view_oc
assertContains(response, "Edit ReportRecipe: " + ooi_id)


def test_ooi_edit_report_recipe_post(rf, client_member, mock_organization_view_octopoes, report_recipe, mock_scheduler):
def test_ooi_edit_report_recipe_post(
rf, client_member, mock_organization_view_octopoes, report_recipe, mocker, mock_scheduler
):
mock_organization_view_octopoes().get.return_value = report_recipe
mocker.patch("rocky.views.ooi_view.create_ooi")
ooi_id = f"ReportRecipe|{report_recipe.recipe_id}"

request_url = (
Expand Down

0 comments on commit 7b7b867

Please sign in to comment.