HPI/tests/foursquare.py
Dima Gerasimov d562f00dca tests: run all tests, but exclude tests specific to my computer from CI
controllable via HPI_TESTS_KARLICOSS=true
2021-02-14 17:47:18 +00:00

9 lines
298 B
Python

from .common import skip_if_not_karlicoss as pytestmark
def test_checkins() -> None:
from my.foursquare import get_checkins
# todo reuse stats?
checkins = get_checkins()
assert len(checkins) > 100
assert any('Victoria Park' in c.summary for c in checkins)
# TODO cid_map??