def testNewFromClone__create(self):
        self.task.create('new_task2', 'test')
        task_dir = os.path.join(self.task.base_dir, 'tasks', 'new_task2')
        self.assertTrue(os.path.isdir(task_dir))
        self.assertTrue(os.path.isfile(os.path.join(task_dir, 'task.cfg')))
Task.create: creates new task from existing task.
dataset/ETHPy150Open xtrementl/focus/tests/unit/test_task.py/TestTask.testNewFromClone__create