(self)
| 2050 | self._test_handshake({"FUNCTIONS_WORKER_RUNTIME": "python"}, {"name": "azure.func"}) |
| 2051 | |
| 2052 | def test_handshake_03_gcp(self): |
| 2053 | self._test_handshake( |
| 2054 | { |
| 2055 | "K_SERVICE": "servicename", |
| 2056 | "FUNCTION_MEMORY_MB": "1024", |
| 2057 | "FUNCTION_TIMEOUT_SEC": "60", |
| 2058 | "FUNCTION_REGION": "us-central1", |
| 2059 | }, |
| 2060 | {"name": "gcp.func", "region": "us-central1", "memory_mb": 1024, "timeout_sec": 60}, |
| 2061 | ) |
| 2062 | # Extra case for FUNCTION_NAME. |
| 2063 | self._test_handshake( |
| 2064 | { |
| 2065 | "FUNCTION_NAME": "funcname", |
| 2066 | "FUNCTION_MEMORY_MB": "1024", |
| 2067 | "FUNCTION_TIMEOUT_SEC": "60", |
| 2068 | "FUNCTION_REGION": "us-central1", |
| 2069 | }, |
| 2070 | {"name": "gcp.func", "region": "us-central1", "memory_mb": 1024, "timeout_sec": 60}, |
| 2071 | ) |
| 2072 | |
| 2073 | def test_handshake_04_vercel(self): |
| 2074 | self._test_handshake( |
nothing calls this directly
no test coverage detected