def testNewNoClone__create(self):
        # create default task file
        self.task._default_task_config = self.make_file(_TASK_FILE_DATA)

        self.task.create('new_task')
        task_dir = os.path.join(self.task.base_dir, 'tasks', 'new_task')
        task_cfg = os.path.join(task_dir, 'task.cfg')
        self.assertTrue(os.path.isdir(task_dir))
        self.assertTrue(os.path.isfile(task_cfg))

        # confirm default task file was used as template
        with open(task_cfg, 'r') as file_:
            self.assertEqual(file_.read(), _TASK_FILE_DATA)
Creates a poll with the given `question` published the given number of
dataset/ETHPy150Open xtrementl/focus/tests/unit/test_task.py/TestTask.testNewNoClone__create--crossover with--dataset/ETHPy150Open disqus/sharding-example/polls/tests.py/create_poll