From 52f0d0a4e44112800b961f8983ba686087d4a206 Mon Sep 17 00:00:00 2001 From: Jack Danger Date: Sat, 20 Jan 2018 19:44:22 -0800 Subject: [PATCH] importing sure in tests that require it --- tests/test_autoscaling/test_elbv2.py | 1 + .../test_cloudformation/test_cloudformation_stack_crud_boto3.py | 1 + tests/test_swf/models/test_activity_task.py | 1 + tests/test_swf/models/test_domain.py | 1 + tests/test_swf/models/test_generic_type.py | 1 + tests/test_swf/models/test_history_event.py | 1 + tests/test_swf/models/test_timeout.py | 1 + tests/test_swf/responses/test_activity_tasks.py | 1 + tests/test_swf/responses/test_activity_types.py | 1 + tests/test_swf/responses/test_decision_tasks.py | 1 + tests/test_swf/responses/test_domains.py | 1 + tests/test_swf/responses/test_timeouts.py | 1 + tests/test_swf/test_exceptions.py | 1 + 13 files changed, 13 insertions(+) diff --git a/tests/test_autoscaling/test_elbv2.py b/tests/test_autoscaling/test_elbv2.py index 89ec4a399..9aff981f1 100644 --- a/tests/test_autoscaling/test_elbv2.py +++ b/tests/test_autoscaling/test_elbv2.py @@ -1,6 +1,7 @@ from __future__ import unicode_literals import boto3 +import sure # noqa from moto import mock_autoscaling, mock_ec2, mock_elbv2 @mock_elbv2 diff --git a/tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py b/tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py index 1f3bfdec7..4e85453b9 100644 --- a/tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py +++ b/tests/test_cloudformation/test_cloudformation_stack_crud_boto3.py @@ -4,6 +4,7 @@ import json import boto3 from botocore.exceptions import ClientError +import sure # noqa # Ensure 'assert_raises' context manager support for Python 2.6 from nose.tools import assert_raises diff --git a/tests/test_swf/models/test_activity_task.py b/tests/test_swf/models/test_activity_task.py index 5dddab975..41c88cafe 100644 --- a/tests/test_swf/models/test_activity_task.py +++ b/tests/test_swf/models/test_activity_task.py @@ -1,4 +1,5 @@ from freezegun import freeze_time +import sure # noqa from moto.swf.exceptions import SWFWorkflowExecutionClosedError from moto.swf.models import ( diff --git a/tests/test_swf/models/test_domain.py b/tests/test_swf/models/test_domain.py index 57f66c830..1a8a1268d 100644 --- a/tests/test_swf/models/test_domain.py +++ b/tests/test_swf/models/test_domain.py @@ -1,4 +1,5 @@ from collections import namedtuple +import sure # noqa from moto.swf.exceptions import SWFUnknownResourceFault from moto.swf.models import Domain diff --git a/tests/test_swf/models/test_generic_type.py b/tests/test_swf/models/test_generic_type.py index d7410f395..294df9f84 100644 --- a/tests/test_swf/models/test_generic_type.py +++ b/tests/test_swf/models/test_generic_type.py @@ -1,4 +1,5 @@ from moto.swf.models import GenericType +import sure # noqa # Tests for GenericType (ActivityType, WorkflowType) diff --git a/tests/test_swf/models/test_history_event.py b/tests/test_swf/models/test_history_event.py index 43592aa6c..b869408ce 100644 --- a/tests/test_swf/models/test_history_event.py +++ b/tests/test_swf/models/test_history_event.py @@ -1,4 +1,5 @@ from freezegun import freeze_time +import sure # noqa from moto.swf.models import HistoryEvent diff --git a/tests/test_swf/models/test_timeout.py b/tests/test_swf/models/test_timeout.py index d685bca8e..fb52652fd 100644 --- a/tests/test_swf/models/test_timeout.py +++ b/tests/test_swf/models/test_timeout.py @@ -1,4 +1,5 @@ from freezegun import freeze_time +import sure # noqa from moto.swf.models import Timeout diff --git a/tests/test_swf/responses/test_activity_tasks.py b/tests/test_swf/responses/test_activity_tasks.py index 3511d4e56..c0b8897b9 100644 --- a/tests/test_swf/responses/test_activity_tasks.py +++ b/tests/test_swf/responses/test_activity_tasks.py @@ -1,5 +1,6 @@ from boto.swf.exceptions import SWFResponseError from freezegun import freeze_time +import sure # noqa from moto import mock_swf_deprecated from moto.swf import swf_backend diff --git a/tests/test_swf/responses/test_activity_types.py b/tests/test_swf/responses/test_activity_types.py index b283d3448..95d8a3733 100644 --- a/tests/test_swf/responses/test_activity_types.py +++ b/tests/test_swf/responses/test_activity_types.py @@ -1,5 +1,6 @@ import boto from boto.swf.exceptions import SWFResponseError +import sure # noqa from moto import mock_swf_deprecated diff --git a/tests/test_swf/responses/test_decision_tasks.py b/tests/test_swf/responses/test_decision_tasks.py index 466e1a2ae..972b1053b 100644 --- a/tests/test_swf/responses/test_decision_tasks.py +++ b/tests/test_swf/responses/test_decision_tasks.py @@ -1,5 +1,6 @@ from boto.swf.exceptions import SWFResponseError from freezegun import freeze_time +import sure # noqa from moto import mock_swf_deprecated from moto.swf import swf_backend diff --git a/tests/test_swf/responses/test_domains.py b/tests/test_swf/responses/test_domains.py index 3fa12d665..8edc76432 100644 --- a/tests/test_swf/responses/test_domains.py +++ b/tests/test_swf/responses/test_domains.py @@ -1,5 +1,6 @@ import boto from boto.swf.exceptions import SWFResponseError +import sure # noqa from moto import mock_swf_deprecated diff --git a/tests/test_swf/responses/test_timeouts.py b/tests/test_swf/responses/test_timeouts.py index 5bd0ead96..f49c597a4 100644 --- a/tests/test_swf/responses/test_timeouts.py +++ b/tests/test_swf/responses/test_timeouts.py @@ -1,4 +1,5 @@ from freezegun import freeze_time +import sure # noqa from moto import mock_swf_deprecated diff --git a/tests/test_swf/test_exceptions.py b/tests/test_swf/test_exceptions.py index a23a14e66..8617242b9 100644 --- a/tests/test_swf/test_exceptions.py +++ b/tests/test_swf/test_exceptions.py @@ -1,4 +1,5 @@ from __future__ import unicode_literals +import sure # noqa import json