File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ def mock_generator():
34
34
35
35
with patch ("sde_collections.sinequa_api.Api.get_full_texts" ) as mock_get_full_texts , patch (
36
36
"sde_collections.sinequa_api.Api.get_total_count" , return_value = 2
37
- ), patch (
38
- "sde_collections.utils.slack_utils.send_detailed_import_notification"
39
- ):
37
+ ), patch ("sde_collections.utils.slack_utils.send_detailed_import_notification" ):
40
38
mock_get_full_texts .return_value = mock_generator ()
41
39
42
40
fetch_and_replace_full_text (collection .id , "lrm_dev" )
@@ -67,9 +65,7 @@ def mock_batch_generator():
67
65
68
66
with patch ("sde_collections.sinequa_api.Api.get_full_texts" ) as mock_get_full_texts , patch (
69
67
"sde_collections.sinequa_api.Api.get_total_count" , return_value = 20000
70
- ), patch (
71
- "sde_collections.utils.slack_utils.send_detailed_import_notification"
72
- ):
68
+ ), patch ("sde_collections.utils.slack_utils.send_detailed_import_notification" ):
73
69
mock_get_full_texts .return_value = mock_batch_generator ()
74
70
75
71
# Execute the task
You can’t perform that action at this time.
0 commit comments