def test_task_function(self):
        result = SomeModelTask(pk=self.thing.pk)
        self.assertEqual(result, self.thing.name)
Save a model instance.
dataset/ETHPy150Open celery/django-celery/tests/someapp/tests.py/SimpleTest.test_task_function--crossover with--dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/lib/util_sqlalchemy.py/ResourceMixin.save