class_docstr: DataQueue test
code: def _internal_to_list(self, DataQueueClass):
      input_que = DataQueueClass(
          [
              ("url", ColumnType.SCALAR),
              ("image", ColumnType.QUEUE),
              ("vec", ColumnType.QUEUE),
          ]
      )
      self.assertTrue(
          input_que.batch_put_dict(
              {
                  "url": ["1"],
                  "image": [1, 2, 3, 4],
                  "vec": [1, 2],
                  "other": [1, 3, 9, 8, 8],
              }
          )
      )
      with self.assertRaises(RuntimeError):
          input_que.to_list()
  
      input_que.seal()
      data = input_que.to_list()
      self.assertEqual(4, len(data))
      self.assertEqual(0, input_que.size)
      self.assertEqual(data[0], ["1", 1, 1])
      self.assertEqual(data[1], ["1", 2, 2])
      self.assertEqual(data[2], ["1", 3, Empty()])
      self.assertEqual(data[3], ["1", 4, Empty()])
  
imports: import unittest
  import threading
  import time
  from functools import partial
  from towhee.runtime.data_queue import DataQueue, ColumnType, Empty
label_desc: Use image node_id 14 for calling the TestDataQueue obj's underlying member method code with example usage: obj._internal_to_list(DataQueueClass) without return types