Skip to content

Commit 2b9ea8d

Browse files
committed
fix(analyzers_manager): fix in dragonfly
1 parent 71db839 commit 2b9ea8d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api_app/analyzers_manager/file_analyzers/dragonfly.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,8 @@ def _monkeypatch(cls):
138138
patch(
139139
"requests.Session.request",
140140
side_effect=[
141-
MockResponse({"id": 1}, 201), # __upload
141+
MockResponse({"id": 1}, 201), # __upload; sample ID
142+
MockResponse({"id": 1}, 201), # __upload; analysis ID
142143
MockResponse(
143144
{"id": 1, "status": "ANALYZED"}, 200
144145
), # __poll_status

0 commit comments

Comments
 (0)