def test_startActionWithParent(self):
        logger = MemoryLogger()
        parent = Action(logger, "uuid", TaskLevel(level=[2]), "other:thing")
        with parent:
            action = startAction(logger, "sys:do")
            self.assertIsInstance(action, Action)
            self.assertEqual(action._identification["task_uuid"], "uuid")
            self.assertEqual(action._task_level, TaskLevel(level=[2, 1]))
L{startAction} uses the C{currentAction()} as parent for a new
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_action.py/StartActionAndTaskTests.test_startActionWithParent