17
0
Files
python-cfn-lint/skip-tests-require-network.patch
Robert Schweikert d58f9696f4 Accepting request 912517 from home:fusionfuture:branches:devel:languages:python:aws
- Update to 0.53.0:
  + Features
    * Update aws-sam-translator to 1.38.0 (pull #2082)
    * Signal the end of life for Python 3.5 (pull #2052)
    * Allow configuration of top level sections in rule E1001
      (pull #2090)
  + CloudFormation Specifications
    * Update resource specs to 39.8.0 (pull #2087)
    * Add StringMax to AWS::SNS::Topic.TopicName,
      AWS::IAM::Role.Name, AWS::SNS::Topic.TopicName,
      AWS::Lambda::Function properties Handler, Description,
      FunctionName, and AWS::Lambda::LayerVersion properties
      LayerName (pull #2089)
  + Fixes
    * Update RetentionPeriodHours for AWS::Kinesis::Stream to 8760
      (pull #2071)
    * Expand expanding likely_stateful_resource_types to include
      AWS::DynamoDB::GlobalTable (pull #2079)
- Changes from 0.52.0:
  + Features
    * End support for Python 3.4 (pull #2048)
    * New rule I3013 to validate retention period settings on
      applicable resources (pull #2054)
  + CloudFormation Specifications
    * Update resource specs to `39.3.0` (pull #2047)
  + Fixes
    * Update `ManagedPolicies.json` to include
      `AWSLambda_FullAccess` and `AWSLambda_ReadOnlyAccess`
      (pull #2062)
    * Fix a warning in setuptools with `description-file` needed to

OBS-URL: https://build.opensuse.org/request/show/912517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:aws/python-cfn-lint?expand=0&rev=27
2021-08-17 13:44:12 +00:00

28 lines
1.1 KiB
Diff

--- a/test/unit/module/maintenance/test_update_resource_specs.py
+++ b/test/unit/module/maintenance/test_update_resource_specs.py
@@ -12,6 +12,7 @@ try:
from urllib.request import urlopen, Request
except ImportError:
from urllib2 import urlopen
+import unittest
LOGGER = logging.getLogger('cfnlint.maintenance')
LOGGER.addHandler(logging.NullHandler())
@@ -190,6 +191,7 @@ class TestUpdateResourceSpecs(BaseTestCa
mock_patch_spec.assert_not_called()
mock_json_dump.assert_not_called()
+ @unittest.skip("Skip tests that requires network")
@patch('cfnlint.maintenance.multiprocessing.Pool')
@patch('cfnlint.maintenance.update_resource_spec')
@patch('cfnlint.maintenance.SPEC_REGIONS', {'us-east-1': 'http://foo.badurl'})
@@ -202,6 +204,7 @@ class TestUpdateResourceSpecs(BaseTestCa
fake_pool.starmap.assert_called_once()
+ @unittest.skip("Skip tests that requires network")
@patch('cfnlint.maintenance.multiprocessing.Pool')
@patch('cfnlint.maintenance.update_resource_spec')
@patch('cfnlint.maintenance.SPEC_REGIONS', {'us-east-1': 'http://foo.badurl'})