def testNoActive__stop(self):
        self.task._loaded = False
        with self.assertRaises(errors.NoActiveTask):
            self.task.stop()
Task.stop: fails if no task active.
dataset/ETHPy150Open xtrementl/focus/tests/unit/test_task.py/TestTask.testNoActive__stop