

def test_generated_name(self):
    my_task = MyTask()
    self.assertEqual(('%s.%s' % (__name__, 'MyTask')), my_task.name)

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