1
0
mirror of https://github.com/balkian/bitter.git synced 2025-08-30 07:12:20 +00:00

Improved tweet downloader (CLI and API)

This commit is contained in:
J. Fernando Sánchez
2016-12-05 23:02:26 +01:00
parent e3a78968da
commit 0a0d8fd5f1
5 changed files with 114 additions and 37 deletions

View File

@@ -58,4 +58,6 @@ class TestUtils(TestCase):
assert list(resp) == [1,2,3]
toc = time.time()
assert (tic-toc) < 6000
resp2 = utils.parallel(echo, [1,2,3,4], chunksize=2)
assert list(resp2) == [1,2,3,4]