def test_reduce_direct(self): x = AsyncResult('1', app=self.app) fun, args = x.__reduce__() assert fun(*args) == x
def test_reduce_direct(self): x = AsyncResult('1', app=self.app) fun, args = x.__reduce__() self.assertEqual(fun(*args), x)