コード例 #1
0
ファイル: test_tasks.py プロジェクト: hgschmie/pulp
 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')])