diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-05-14 11:09:11 +0100 |
commit | deba8115d2c2af26df42966b91ef04ff4dd79cde (patch) | |
tree | 9a48f42594e1a9e6b2020d5535a784314434d7a7 /dev-python/moto/files/moto-1.3.14-tests.patch | |
parent | 38423c67c8a23f6a1bc42038193182e2da3116eb (diff) |
gentoo resync : 14.05.2020
Diffstat (limited to 'dev-python/moto/files/moto-1.3.14-tests.patch')
-rw-r--r-- | dev-python/moto/files/moto-1.3.14-tests.patch | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/dev-python/moto/files/moto-1.3.14-tests.patch b/dev-python/moto/files/moto-1.3.14-tests.patch new file mode 100644 index 000000000000..4fdbf801eec3 --- /dev/null +++ b/dev-python/moto/files/moto-1.3.14-tests.patch @@ -0,0 +1,82 @@ +diff --git a/tests/test_awslambda/test_lambda.py b/tests/test_awslambda/test_lambda.py +index 306deeea..7b8937ab 100644 +--- a/tests/test_awslambda/test_lambda.py ++++ b/tests/test_awslambda/test_lambda.py +@@ -22,6 +22,7 @@ from moto import ( + settings, + mock_sqs, + ) ++from unittest import skip + from nose.tools import assert_raises + from botocore.exceptions import ClientError + +@@ -1024,6 +1025,7 @@ def test_create_event_source_mapping(): + assert response["State"] == "Enabled" + + ++@skip("fails in sandbox") + @mock_logs + @mock_lambda + @mock_sqs +@@ -1075,6 +1077,7 @@ def test_invoke_function_from_sqs(): + assert False, "Test Failed" + + ++@skip("fails in sandbox") + @mock_logs + @mock_lambda + @mock_dynamodb2 +@@ -1135,6 +1138,7 @@ def test_invoke_function_from_dynamodb(): + assert False, "Test Failed" + + ++@skip("fails in sandbox") + @mock_logs + @mock_lambda + @mock_sqs +diff --git a/tests/test_cloudformation/test_validate.py b/tests/test_cloudformation/test_validate.py +index 4dd4d7e0..3d1608e7 100644 +--- a/tests/test_cloudformation/test_validate.py ++++ b/tests/test_cloudformation/test_validate.py +@@ -2,6 +2,7 @@ from collections import OrderedDict + import json + import yaml + import os ++from unittest import skip + import boto3 + from nose.tools import raises + import botocore +@@ -46,6 +47,7 @@ dummy_template_json = json.dumps(json_template) + dummy_bad_template_json = json.dumps(json_bad_template) + + ++@skip("needs network access") + @mock_cloudformation + def test_boto3_json_validate_successful(): + cf_conn = boto3.client("cloudformation", region_name="us-east-1") +@@ -87,6 +89,7 @@ yaml_bad_template = """ + """ + + ++@skip("needs network access") + @mock_cloudformation + def test_boto3_yaml_validate_successful(): + cf_conn = boto3.client("cloudformation", region_name="us-east-1") +diff --git a/tests/test_core/test_request_mocking.py b/tests/test_core/test_request_mocking.py +index 2c44d52c..38c3a08d 100644 +--- a/tests/test_core/test_request_mocking.py ++++ b/tests/test_core/test_request_mocking.py +@@ -1,10 +1,13 @@ + import requests + import sure # noqa + ++from unittest import skip ++ + import boto3 + from moto import mock_sqs, settings + + ++@skip("Needs network access") + @mock_sqs + def test_passthrough_requests(): + conn = boto3.client("sqs", region_name="us-west-1") |