Cleanup flake8
This commit is contained in:
parent
161a5744d1
commit
59fe1abfdf
49 changed files with 79 additions and 80 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import sure # flake8: noqa
|
||||
import sure # noqa
|
||||
|
||||
import moto.server as server
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue