Skip to content

Commit a900877

Browse files
Fix test with PROCESSING_ALL_SAFES_TOGETHER to False (#2605)
1 parent fa417d4 commit a900877

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

safe_transaction_service/history/tests/test_tasks.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -224,12 +224,13 @@ def _test_process_decoded_internal_txs_task(self):
224224
self.assertEqual(safe_status.threshold, threshold)
225225

226226
def test_process_decoded_internal_txs_task_together(self):
227-
with self.assertLogs(logger=task_logger) as cm:
228-
self._test_process_decoded_internal_txs_task()
229-
self.assertIn(
230-
"Start process decoded internal txs for every Safe together",
231-
cm.output[0],
232-
)
227+
with self.settings(PROCESSING_ALL_SAFES_TOGETHER=True):
228+
with self.assertLogs(logger=task_logger) as cm:
229+
self._test_process_decoded_internal_txs_task()
230+
self.assertIn(
231+
"Start process decoded internal txs for every Safe together",
232+
cm.output[0],
233+
)
233234

234235
def test_process_decoded_internal_txs_task_different_tasks(self):
235236
with self.settings(PROCESSING_ALL_SAFES_TOGETHER=False):

0 commit comments

Comments
 (0)