class_docstr: Test case of valid embedding interface 
docstr: target: test embedding for normal case
  method:  embedding with one image
  expected: return embeddings
docstr_tok: ["target",":","test","embedding","for","normal","case","method",":","embedding","with","one","image","expected",":","return","embeddings"]
code: def test_embedding_one_image(self, pipeline_model, embedding_size):
      """
      target: test embedding for normal case
      method:  embedding with one image
      expected: return embeddings
      """
      emb_conf = AutoConfig.load_config(pipeline_name)
      emb_conf.model = pipeline_model
      emb_pipe = AutoPipes.pipeline(pipeline_name, emb_conf)
      res = (
          emb_pipe(data_path + "towhee_test_image0.jpg")
          .to_list()[0][0]
          .tolist()
      )
      assert len(res) == embedding_size
      return True
  
imports: import sys
  import time
  import threading
  import numpy
  from towhee import AutoPipes, AutoConfig
  from common import common_func
label_desc: Use image node_id 1 for calling the TestImageEmbeddingValid obj's underlying member method code with example usage: obj.test_embedding_one_image(pipeline_model, embedding_size) and returns: True