feat: Add new gcloud commands, API clients, and third-party libraries across various services.

This commit is contained in:
2026-01-01 20:26:35 +01:00
parent 5e23cbece0
commit a19e592eb7
25221 changed files with 8324611 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
#!/usr/bin/python
import os
import unittest
from gae_ext_runtime import testutil
RUNTIME_DEF_ROOT = os.path.dirname(os.path.dirname(__file__))
class RuntimeTest(testutil.TestBase):
def setUp(self):
self.runtime_def_root = RUNTIME_DEF_ROOT
super(RuntimeTest, self).setUp()
def test_custom_runtime(self):
self.write_file('Dockerfile', 'boring contents')
self.generate_configs()
self.assert_file_exists_with_contents('app.yaml',
'env: flex\nruntime: custom\n')
def test_custom_runtime_no_write(self):
"""Ensure custom runtime writes app.yaml to disk with GenerateConfigData."""
self.write_file('Dockerfile', 'boring contents')
self.generate_config_data()
self.assert_file_exists_with_contents(
'app.yaml',
'env: flex\nruntime: custom\n')
if __name__ == '__main__':
unittest.main()