code: def test_metas(tmpdir, random_workspace_name):
      from jina.serve.executors.metas import get_default_metas
  
      os.environ[random_workspace_name] = str(tmpdir)
      metas = get_default_metas()
      metas["workspace"] = os.environ[random_workspace_name]
      yield metas
      del os.environ[random_workspace_name]
  
file_path: jina/tests/conftest.py
imports: import asyncio
  import os
  import random
  import string
  import tempfile
  import time
  import pytest
  from jina import helper
label_desc: Use image node_id 2 for calling a global function with example usage: test_metas(tmpdir, random_workspace_name) without return types