code: def test_query(self):
      self.client._service.query.return_value = "ok"
  
      self.assertEqual(self.client.query("foo", 1, 2, 3), "ok")
  
      self.client._service.query.assert_called_once_with("foo", 1, 2, 3)
  
      self.client._service.query.reset_mock()
  
      self.assertEqual(self.client.query("foo", a=1, b=2, c=3), "ok")
  
      self.client._service.query.assert_called_once_with(
          "foo", a=1, b=2, c=3
      )
  
file_path: TabPy/tests/unit/tools_tests/test_client.py
imports: import unittest
  from unittest.mock import Mock
  from tabpy.tabpy_tools.client import Client
  from tabpy.tabpy_tools.client import _check_endpoint_name
label_desc: Use image node_id 5 for calling the TestClient obj's underlying member method code with example usage: obj.test_query() without return types