def test_serializeTaskId(self):
        action = Action(None, "uniq123", TaskLevel(level=[1, 2]), "mytype")
        self.assertEqual([action._nextTaskLevel(),
                          action.serializeTaskId(),
                          action._nextTaskLevel()],
                         [TaskLevel(level=[1, 2, 1]),
                          b"uniq123@/1/2/2",
                          TaskLevel(level=[1, 2, 3])])
Tests that the prepare_package function passes for valid data
dataset/ETHPy150Open ClusterHQ/eliot/eliot/tests/test_action.py/SerializationTests.test_serializeTaskId--crossover with--dataset/ETHPy150Open mozilla/app-validator/tests/test_submain.py/test_prepare_package