MCPcopy Index your code
hub / github.com/mongodb/mongo-python-driver / test_handshake_01_aws

Method test_handshake_01_aws

test/test_client.py:2039–2047  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2037 self.assertEqual(options.pool_options.metadata, metadata)
2038
2039 def test_handshake_01_aws(self):
2040 self._test_handshake(
2041 {
2042 "AWS_EXECUTION_ENV": "AWS_Lambda_python3.10",
2043 "AWS_REGION": "us-east-2",
2044 "AWS_LAMBDA_FUNCTION_MEMORY_SIZE": "1024",
2045 },
2046 {"name": "aws.lambda", "region": "us-east-2", "memory_mb": 1024},
2047 )
2048
2049 def test_handshake_02_azure(self):
2050 self._test_handshake({"FUNCTIONS_WORKER_RUNTIME": "python"}, {"name": "azure.func"})

Callers

nothing calls this directly

Calls 1

_test_handshakeMethod · 0.95

Tested by

no test coverage detected