fix for scanning without filter
This commit is contained in:
parent
d29ca8503e
commit
a5eaaaad51
3 changed files with 14 additions and 8 deletions
|
|
@ -291,6 +291,9 @@ def test_scan():
|
|||
)
|
||||
item.put()
|
||||
|
||||
results = table.scan()
|
||||
results.response['Items'].should.have.length_of(3)
|
||||
|
||||
results = table.scan(scan_filter={'SentBy': condition.EQ('User B')})
|
||||
results.response['Items'].should.have.length_of(1)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue