importing sure in tests that require it

This commit is contained in:
Jack Danger 2018-01-20 19:44:22 -08:00
parent ae9d7251ed
commit 52f0d0a4e4
13 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,5 @@
from freezegun import freeze_time
import sure # noqa
from moto.swf.exceptions import SWFWorkflowExecutionClosedError
from moto.swf.models import (

View File

@ -1,4 +1,5 @@
from collections import namedtuple
import sure # noqa
from moto.swf.exceptions import SWFUnknownResourceFault
from moto.swf.models import Domain

View File

@ -1,4 +1,5 @@
from moto.swf.models import GenericType
import sure # noqa
# Tests for GenericType (ActivityType, WorkflowType)

View File

@ -1,4 +1,5 @@
from freezegun import freeze_time
import sure # noqa
from moto.swf.models import HistoryEvent

View File

@ -1,4 +1,5 @@
from freezegun import freeze_time
import sure # noqa
from moto.swf.models import Timeout

View File

@ -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

View File

@ -1,5 +1,6 @@
import boto
from boto.swf.exceptions import SWFResponseError
import sure # noqa
from moto import mock_swf_deprecated

View File

@ -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

View File

@ -1,5 +1,6 @@
import boto
from boto.swf.exceptions import SWFResponseError
import sure # noqa
from moto import mock_swf_deprecated

View File

@ -1,4 +1,5 @@
from freezegun import freeze_time
import sure # noqa
from moto import mock_swf_deprecated

View File

@ -1,4 +1,5 @@
from __future__ import unicode_literals
import sure # noqa
import json