Skip to content

Commit

Permalink
fix(analyzers_manager): fix in dragonfly
Browse files Browse the repository at this point in the history
  • Loading branch information
eshaan7 committed Nov 22, 2021
1 parent 71db839 commit 2b9ea8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api_app/analyzers_manager/file_analyzers/dragonfly.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,8 @@ def _monkeypatch(cls):
patch(
"requests.Session.request",
side_effect=[
MockResponse({"id": 1}, 201), # __upload
MockResponse({"id": 1}, 201), # __upload; sample ID
MockResponse({"id": 1}, 201), # __upload; analysis ID
MockResponse(
{"id": 1, "status": "ANALYZED"}, 200
), # __poll_status
Expand Down

0 comments on commit 2b9ea8d

Please sign in to comment.