def test_task_function(self):
        result = SomeModelTask(pk=self.thing.pk)
        self.assertEqual(result, self.thing.name)
Run task function.
dataset/ETHPy150Open celery/django-celery/tests/someapp/tests.py/SimpleTest.test_task_function