code: def test_post_a():
      data = {"a": 2, "b": "foo"}
      response = client.post("/a/compute", json=data)
      assert response.status_code == 200, response.text
      data = response.json()
  
imports: from fastapi.testclient import TestClient
  from .app.main import app
label_desc: Use image node_id 1 for calling a global function with example usage: test_post_a() without return types