def test_api_call_endpoint_number(self):
        """Test the self.plugin_class.make_api_call() function with an endpoint that is a number."""
        with self.assertRaises(ValueError) as excinfo:
            self.plugin_class.make_api_call('http://example.com', 123) # type: ignore
        self.assertIn("endpoint must be a string", str(excinfo.exception))
Test the self.plugin_class.make_api_call() function with an endpoint that is a number.
src/autogpt_plugins/api_tools/test_api_tools.py