more minor tweaks, benefit from get_files

This commit is contained in:
Dima Gerasimov 2020-05-03 17:15:51 +01:00
parent 9bd61940b8
commit 0b61dd9e42
6 changed files with 28 additions and 31 deletions

View file

@ -1,6 +1,5 @@
from my.instapaper import get_todos
from my.instapaper import pages
def test_get_todos():
for t in get_todos():
print(t)
def test_pages():
assert len(list(pages())) > 3

7
tests/lastfm.py Normal file
View file

@ -0,0 +1,7 @@
from more_itertools import ilen
from my.lastfm import scrobbles
def test():
assert ilen(scrobbles()) > 1000