示例#1
0
 def test_reap_expired_documents_apply_async(self, mock_reaper_apply_async):
     queue_reap_expired_documents()
     mock_reaper_apply_async.assert_called_once_with(tags=[action_tag('reaper')])
示例#2
0
 def test_reap_expired_documents_apply_async(self, mock_reaper_apply_async):
     queue_reap_expired_documents()
     mock_reaper_apply_async.assert_called_once_with(
         tags=[action_tag('reaper')])