1
0
python-aws-sam-translator/skip-tests-require-network.patch

29 lines
1.5 KiB
Diff
Raw Normal View History

Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
diff -Nru serverless-application-model-1.68.0.orig/tests/plugins/application/test_serverless_app_plugin.py serverless-application-model-1.68.0/tests/plugins/application/test_serverless_app_plugin.py
--- serverless-application-model-1.68.0.orig/tests/plugins/application/test_serverless_app_plugin.py 2023-05-25 20:47:48.000000000 +0200
+++ serverless-application-model-1.68.0/tests/plugins/application/test_serverless_app_plugin.py 2023-06-15 16:12:56.049114662 +0200
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
@@ -1,5 +1,6 @@
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
from unittest import TestCase
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
from unittest.mock import Mock, patch
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
+import unittest
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
import boto3
from botocore.exceptions import ClientError
@@ -114,7 +115,7 @@
self.assertEqual(plugin._sar_client, sar_client)
self.client_mock.assert_not_called()
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
-
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
+@unittest.skip("Skip tests that requires network")
class TestServerlessAppPlugin_on_before_transform_template_translate(TestCase):
def setUp(self):
client = boto3.client("serverlessrepo", region_name="us-east-1")
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
@@ -453,7 +454,7 @@
self.assertEqual(client.get_cloud_formation_template.call_count, 2)
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
self.assertEqual(plugin._get_sleep_time_sec.call_count, 1) # make sure we slept once
Accepting request 1096714 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.68.0 * chore: Upgrade ruff to 0.0.263 and enable more rules by @aahung in (#3127) * docs: mention what transform tests are by @hoffa in (#3129) * chore(schema): update by @github-actions in (#3131) * Merge main to develop by @ssenchenko in (#3136) * feat: actionable error on non-ARN policy by @hoffa in (#3132) * chore(schema): update by @github-actions in (#3137) * feat(SimpleTable): add PointInTimeRecoverySpecification by @hoffa in (#3138) * chore(schema): update by @github-actions in (#3139) * chore: mark test_request_parameters_open_api as @nonblocking by @hoffa in #(3141) * chore(schema): update by @github-actions in (#3143) * docs: remove automatic type/bug label by @hoffa in (#3147) * chore(schema): update by @github-actions in (#3148) * chore: update bundled managed policies by @hoffa in (#3149) * chore(schema): update by @github-actions in (#3150) * AppSync Api -> Lambda connector by @ssenchenko in (#3145) * Revert "feat: actionable error on non-ARN policy (#3132)" by @hoffa in (#3153) * chore: add Policies test with every type by @hoffa in (#3155) * Release 1.68.0 (to main) by @GavinZZ in (#3185) - from version 1.67.0 * chore(schema): update by @github-actions in (#3104) * chore: Enable termination protection for companion stacks by @GavinZZ in (#3105) * chore(schema): update by @github-actions in (#3108) * fix: Availability Dip Fix for MergeDefinitions property by @GavinZZ in (#3115) * chore(schema): update by @github-actions in (#3116) * chore: bundle aws-cn AWS managed policies by @hoffa in (#3117) * Merge main to develop by @xazhao in (#3119) * fix: Add ScheduleV2 OmitName to omit generated Name in Scheduler::Schedule by @aahung in (#3120) * chore: Use importlib.metadata to get package version by @aahung in (#3121) OBS-URL: https://build.opensuse.org/request/show/1096714 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=40
2023-07-05 12:16:14 +00:00
-
Accepting request 1004975 from home:glaubitz:branches:devel:languages:python:aws - Update to 1.51.0 * chore: Add missing import and add partition into base test for integration test by @qingchm in #2463 * Release 1.49.0 (to develop) by @aws-sam-cli-bot in #2465 * Revert "chore: Add missing import and add partition into base test for integration test" by @qingchm in #2466 * Update methods in Metrics class to accept timestamp by @hawflau in #2470 * Release 1.50.0 (to develop) by @aws-sam-cli-bot in #2471 * feat: Add State Property to Schedule EventSource in StateMachine by @konoui in #2468 * Test: Upgrade integration test cases lambda resources runtimes to nodejs14.x by @moelasmar in #2474 * Add validation for S3 NotificationConfiguration in Serverless Functin… by @hawflau in #2473 * chore: Change FeatureToggleAppConfigConfigProvider to accept AppConfig client, so SAM-T can send a monitored client. by @moelasmar in #2480 * chore: Add basic mypy check (no behavior change) by @aahung in #2488 * chore: Integration test improvements with ApiKey skips and retry time by @qingchm in #2487 - from version 1.50.0 * chore: Skip self managed kafka tests by @qingchm in #2461 * chore: Add required skipifs for integration tests by @qingchm in #2462 * feat: Support ConsumerGroupId for Kafka events - from version 1.49.0 * Fix EventSource Schedule passes Enabled to State by @lightpriest in #1666 * chore: Add capability to disable S3 Events integration test cases. by @moelasmar in #2454 * chore: Add region skip condition and retry for http test by @qingchm in #2455 * Add validation for swagger security when ApiKeyRequired OBS-URL: https://build.opensuse.org/request/show/1004975 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-aws-sam-translator?expand=0&rev=32
2022-09-24 09:22:57 +00:00
+@unittest.skip("Skip tests that requires network")
class TestServerlessAppPlugin_on_before_and_on_after_transform_template(TestCase):
@patch("samtranslator.plugins.application.serverless_app_plugin.SamTemplate")
def test_time_limit_exceeds_between_combined_sar_calls(self, SamTemplateMock):