code: def test_orchestra_python_server(node_type):
      node = sy.orchestra.launch(
          name="test-domain", port="auto", node_type=node_type
      )
  
      metadata = requests.get(
          f"http://localhost:{node.port}/api/v2/metadata"
      )
      assert metadata.status_code == 200
      assert metadata.json()["name"] == "test-domain"
      assert metadata.json()["node_type"] == node_type
  
file_path: PySyft/packages/syft/tests/syft/orchestra/orchestra_test.py
imports: import pytest
  import requests
  import syft
  from syft.client.domain_client import DomainClient
  from syft.client.enclave_client import EnclaveClient
  from syft.client.gateway_client import GatewayClient
  from syft.node.node import Node
label_desc: Use image node_id 2 for calling a global function with example usage: test_orchestra_python_server(node_type) without return types