def test_can_get_task_status(self):
        task = self._create_task(status=const.STATUS_FAILED)
        response = self.api_client.get('{}{}/'.format(self.url, task))
        response.status_code.should.be.equal(200)
        data = self.deserialize(response)
        data['status'].should.be.equal(const.STATUS_FAILED)
Test can get task status
dataset/ETHPy150Open nvbn/coviolations_web/tasks/tests/test_resources.py/TaskStatusResourceCase.test_can_get_task_status