Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove unused imports from the test suite.

  • Loading branch information...
commit d91cfec2e9c2111d8df3090ff25adbbe9122e6ce 1 parent c256dd7
@abhinav-upadhyay authored
View
2  tests/db/test_password.py
@@ -124,5 +124,3 @@ def test_password_constructor_hashfunc(self):
suite = unittest.TestLoader().loadTestsFromTestCase(PasswordPropertyTest)
unittest.TextTestRunner(verbosity=2).run(suite)
- import boto
-
View
1  tests/integration/dynamodb/test_table.py
@@ -23,7 +23,6 @@
from tests.unit import unittest
from boto.dynamodb.layer2 import Layer2
-from boto.dynamodb.table import Table
from boto.dynamodb.schema import Schema
View
2  tests/integration/ec2/cloudwatch/test_connection.py
@@ -25,11 +25,9 @@
"""
import datetime
-import time
import unittest
from boto.ec2.cloudwatch import CloudWatchConnection
-from boto.ec2.cloudwatch.metric import Metric
# HTTP response body for CloudWatchConnection.describe_alarms
DESCRIBE_ALARMS_BODY = """<DescribeAlarmsResponse xmlns="http://monitoring.amazonaws.com/doc/2010-08-01/">
View
2  tests/integration/glacier/test_layer2.py
@@ -22,7 +22,7 @@
import time
from tests.unit import unittest
-from boto.glacier.layer2 import Layer1, Layer2
+from boto.glacier.layer2 import Layer2
class TestGlacierLayer2(unittest.TestCase):
View
1  tests/integration/s3/mock_storage_service.py
@@ -28,7 +28,6 @@
import copy
import boto
-import base64
from boto.utils import compute_md5
from boto.s3.prefix import Prefix
View
1  tests/integration/s3/test_bucket.py
@@ -31,7 +31,6 @@
from boto.exception import S3ResponseError
from boto.s3.connection import S3Connection
-from boto.s3.bucketlogging import BucketLogging
from boto.s3.lifecycle import Lifecycle
from boto.s3.lifecycle import Transition
from boto.s3.lifecycle import Rule
View
1  tests/integration/s3/test_key.py
@@ -28,7 +28,6 @@
import time
import StringIO
from boto.s3.connection import S3Connection
-from boto.s3.key import Key
from boto.exception import S3ResponseError
View
1  tests/integration/s3/test_mfa.py
@@ -31,7 +31,6 @@
from boto.s3.connection import S3Connection
from boto.exception import S3ResponseError
-from boto.s3.deletemarker import DeleteMarker
@attr('notdefault', 's3mfa')
View
1  tests/integration/s3/test_multidelete.py
@@ -32,7 +32,6 @@
from boto.s3.deletemarker import DeleteMarker
from boto.s3.prefix import Prefix
from boto.s3.connection import S3Connection
-from boto.exception import S3ResponseError
class S3MultiDeleteTest(unittest.TestCase):
s3 = True
View
1  tests/integration/s3/test_pool.py
@@ -28,7 +28,6 @@
import time
import uuid
-from StringIO import StringIO
from threading import Thread
View
3  tests/integration/s3/test_resumable_downloads.py
@@ -26,19 +26,16 @@
"""
import errno
-import getopt
import os
import random
import re
import shutil
import socket
import StringIO
-import sys
import tempfile
import time
import unittest
-import boto
from boto import storage_uri
from boto.s3.resumable_download_handler import get_cur_file_size
from boto.s3.resumable_download_handler import ResumableDownloadHandler
View
3  tests/integration/s3/test_resumable_uploads.py
@@ -26,14 +26,11 @@
"""
import errno
-import getopt
import os
import random
-import re
import shutil
import socket
import StringIO
-import sys
import tempfile
import time
import unittest
View
1  tests/integration/s3/test_versioning.py
@@ -28,7 +28,6 @@
import unittest
import time
from boto.s3.connection import S3Connection
-from boto.exception import S3ResponseError
from boto.s3.deletemarker import DeleteMarker
class S3VersionTest (unittest.TestCase):
View
1  tests/integration/sts/test_session_token.py
@@ -25,7 +25,6 @@
"""
import unittest
-import time
import os
from boto.sts.connection import STSConnection
from boto.sts.credentials import Credentials
View
2  tests/mturk/create_hit_external.py
@@ -1,6 +1,4 @@
import unittest
-import uuid
-import datetime
from boto.mturk.question import ExternalQuestion
from _init_environment import SetHostMTurkConnection, external_url, \
View
1  tests/mturk/create_hit_test.py
@@ -1,5 +1,4 @@
import unittest
-import os
from boto.mturk.question import QuestionForm
from common import MTurkCommon
View
2  tests/test.py
@@ -20,9 +20,7 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
-import logging
import sys
-import unittest
from nose.core import run
import argparse
View
1  tests/unit/cloudformation/test_connection.py
@@ -1,6 +1,5 @@
#!/usr/bin/env python
import unittest
-import httplib
from datetime import datetime
try:
import json
View
2  tests/unit/dynamodb/test_layer2.py
@@ -25,7 +25,7 @@
from mock import Mock
from boto.dynamodb.layer2 import Layer2
-from boto.dynamodb.table import Table, Schema
+from boto.dynamodb.table import Schema
DESCRIBE_TABLE = {
View
2  tests/unit/glacier/test_concurrent.py
@@ -20,11 +20,9 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
# IN THE SOFTWARE.
#
-from Queue import Queue
import mock
from tests.unit import unittest
-from tests.unit import AWSMockServiceTestCase
from boto.glacier.concurrent import ConcurrentUploader, ConcurrentDownloader
View
2  tests/unit/glacier/test_layer2.py
@@ -27,11 +27,9 @@
from boto.glacier.layer1 import Layer1
from boto.glacier.layer2 import Layer2
-import boto.glacier.vault
from boto.glacier.vault import Vault
from boto.glacier.vault import Job
-from StringIO import StringIO
# Some fixture data from the Glacier docs
FIXTURE_VAULT = {
Please sign in to comment.
Something went wrong with that request. Please try again.