MCPcopy Create free account
hub / github.com/mongodb/mongo-python-driver / _call

Method _call

test/test_azure_helpers.py:49–50  ·  view source on GitHub ↗
(self, resource="https://example.com/", client_id=None, timeout=5)

Source from the content-addressed store, hash-verified

47
48class TestGetAzureResponse(unittest.TestCase):
49 def _call(self, resource="https://example.com/", client_id=None, timeout=5):
50 return _get_azure_response(resource, client_id=client_id, timeout=timeout)
51
52 def test_success_without_client_id(self):
53 body = json.dumps({"access_token": "tok", "expires_in": "3600"})

Calls 1

_get_azure_responseFunction · 0.90

Tested by

no test coverage detected