this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fixed #29: import command fails on empty files

By bumping sqlite-utils dependency to get this fix:
https://github.com/simonw/sqlite-utils/issues/52

+9 -4
+1 -1
setup.py
··· 27 27 twitter-to-sqlite=twitter_to_sqlite.cli:cli 28 28 """, 29 29 install_requires=[ 30 - "sqlite-utils~=1.11", 30 + "sqlite-utils~=1.12.1", 31 31 "requests-oauthlib~=1.2.0", 32 32 "python-dateutil", 33 33 ],
+7 -3
tests/test_import.py
··· 26 26 27 27 def test_create_zip(zip_contents_path): 28 28 zf = create_zip(zip_contents_path) 29 - assert {"account.js", "saved-search.js", "following.js", "follower.js"} == { 30 - f.filename for f in zf.filelist 31 - } 29 + assert { 30 + "account-suspension.js", 31 + "account.js", 32 + "saved-search.js", 33 + "following.js", 34 + "follower.js", 35 + } == {f.filename for f in zf.filelist} 32 36 33 37 34 38 def test_cli_import_zip_file(import_test_zip):
+1
tests/zip_contents/account-suspension.js
··· 1 + window.YTD.account_suspension.part0 = []