diff options
author | Wouter Bolsterlee <uws@xs4all.nl> | 2014-02-25 21:08:21 +0100 |
---|---|---|
committer | Wouter Bolsterlee <uws@xs4all.nl> | 2014-02-25 21:08:21 +0100 |
commit | 106dcf070574c5be9bdeba90c689b09e3fbed71b (patch) | |
tree | 5a73f162f4f2fd3c08634dbe8014e1f3a7f323ec /tests | |
parent | da109ab7b3c8a6ede332bc0d99e3e71cbecf5154 (diff) | |
download | happybase-106dcf070574c5be9bdeba90c689b09e3fbed71b.tar.gz |
No longer confuse batching/caching; add Table.scan(scan_batching=...)
For details, see the comments added in this commit, and issues #54 and
issue #56.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_api.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_api.py b/tests/test_api.py index 2d22717..292ee3f 100644 --- a/tests/test_api.py +++ b/tests/test_api.py @@ -446,6 +446,13 @@ def test_scan_sorting(): row.items()) +def test_scan_filter_and_batch_size(): + # See issue #54 and #56 + filter = "SingleColumnValueFilter ('cf1', 'qual1', =, 'binary:val1')" + for k, v in table.scan(filter=filter): + print v + + def test_delete(): row_key = 'row-test-delete' data = {'cf1:col1': 'v1', |