コード例 #1
0
ファイル: test_result.py プロジェクト: wido/celery
 def test_reduce_direct(self):
     x = AsyncResult('1', app=self.app)
     fun, args = x.__reduce__()
     assert fun(*args) == x
コード例 #2
0
ファイル: test_result.py プロジェクト: yangrong688/celery
 def test_reduce_direct(self):
     x = AsyncResult('1', app=self.app)
     fun, args = x.__reduce__()
     assert fun(*args) == x
コード例 #3
0
ファイル: test_result.py プロジェクト: HideMode/celery
 def test_reduce_direct(self):
     x = AsyncResult('1', app=self.app)
     fun, args = x.__reduce__()
     self.assertEqual(fun(*args), x)
コード例 #4
0
 def test_reduce_direct(self):
     x = AsyncResult('1', app=self.app)
     fun, args = x.__reduce__()
     self.assertEqual(fun(*args), x)