forked from pool/python-aws-sam-translator
Robert Schweikert
96f2b2c579
- 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
29 lines
1.5 KiB
Diff
29 lines
1.5 KiB
Diff
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
|
|
@@ -1,5 +1,6 @@
|
|
from unittest import TestCase
|
|
from unittest.mock import Mock, patch
|
|
+import unittest
|
|
|
|
import boto3
|
|
from botocore.exceptions import ClientError
|
|
@@ -114,7 +115,7 @@
|
|
self.assertEqual(plugin._sar_client, sar_client)
|
|
self.client_mock.assert_not_called()
|
|
|
|
-
|
|
+@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")
|
|
@@ -453,7 +454,7 @@
|
|
self.assertEqual(client.get_cloud_formation_template.call_count, 2)
|
|
self.assertEqual(plugin._get_sleep_time_sec.call_count, 1) # make sure we slept once
|
|
|
|
-
|
|
+@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):
|