Skip to content

Commit

Permalink
Fix mock a bit
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathangreen committed Apr 3, 2024
1 parent 951bc33 commit 0505142
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/api/admin/controller/test_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@ def test_generate_inventory_report(self, report_fixture: ReportControllerFixture
"api.admin.controller.report.generate_inventory_reports_task"
) as mock_generate,
):
mock_generate.delay.return_value.id = "1234"
response = ctrl.generate_inventory_report()
mock_generate.delay.assert_called_once_with(
library_id=report_fixture.ctrl.library.id,
Expand Down

0 comments on commit 0505142

Please sign in to comment.