def test_task_views(self):
        self.model = Task
        data = self.autotest_ajax_post('create', kwargs={'key': 'default'}, data={'summary':'test'})

        obj = self.get_latest_object()
        a = '%s'%obj # check if object name has any errors

#       self.autotest_ajax_post('delete', kwargs={'pk': obj.pk}, data=None)
dataset/ETHPy150Open django-bmf/django-bmf/djangobmf/contrib/task/tests.py/TaskModuleTests.test_task_views/original