

def test_task_str(self):
    my_task = MyTask(name='my')
    self.assertEqual('my==1.0', str(my_task))

dataset/ETHPy150Open openstack/taskflow/taskflow/tests/unit/test_task.py TaskTest.test_task_str/original