'Try to ping celery.'

def test_ping(self):

    response = self.client.get(self.ping_url)
    self.assertEqual(response.status_code, 200)
    result_dict = json.loads(response.content)
    self.assertTrue(result_dict['success'])
    self.assertEqual(result_dict['value'], 'pong')
    self.assertIsInstance(result_dict['task_id'], unicode)
    self.assertIsInstance(result_dict['time'], float)
    self.assertGreater(result_dict['time'], 0.0)
