Cleanup flake8

This commit is contained in:
Steve Pulec 2013-08-03 17:21:25 -04:00
commit 59fe1abfdf
49 changed files with 79 additions and 80 deletions

View file

@ -1,12 +1,10 @@
import boto
import sure # flake8: noqa
from freezegun import freeze_time
import sure # noqa
import requests
from moto import mock_dynamodb
from moto.dynamodb import dynamodb_backend
from boto.dynamodb import condition
from boto.exception import DynamoDBResponseError

View file

@ -1,9 +1,8 @@
import boto
import sure # flake8: noqa
import sure # noqa
from freezegun import freeze_time
from moto import mock_dynamodb
from moto.dynamodb import dynamodb_backend
from boto.dynamodb import condition
from boto.dynamodb.exceptions import DynamoDBKeyNotFoundError, DynamoDBValidationError
@ -501,5 +500,4 @@ def test_batch_read():
item.put()
items = table.batch_get_item([('the-key', '123'), ('another-key', '789')])
count = len([item for item in items])
count.should.equal(2)
items.should.have.length_ofl(2)

View file

@ -1,9 +1,8 @@
import boto
import sure # flake8: noqa
import sure # noqa
from freezegun import freeze_time
from moto import mock_dynamodb
from moto.dynamodb import dynamodb_backend
from boto.dynamodb import condition
from boto.dynamodb.exceptions import DynamoDBKeyNotFoundError
@ -412,5 +411,4 @@ def test_batch_read():
item.put()
items = table.batch_get_item([('the-key1'), ('another-key')])
count = len([item for item in items])
count.should.equal(2)
items.should.have.length_of(2)

View file

@ -1,4 +1,4 @@
import sure # flake8: noqa
import sure # noqa
import moto.server as server