cli: integrate with stats reported by the modules

This commit is contained in:
Dima Gerasimov 2020-05-25 11:27:54 +01:00
parent d890599c7c
commit 7bd7cc9228
7 changed files with 49 additions and 4 deletions

View file

@ -1,6 +1,7 @@
from my.foursquare import get_checkins
def test_checkins():
# todo reuse stats?
checkins = get_checkins()
assert len(checkins) > 100
assert any('Victoria Park' in c.summary for c in checkins)