tests: run all tests, but exclude tests specific to my computer from CI

controllable via HPI_TESTS_KARLICOSS=true
This commit is contained in:
Dima Gerasimov 2021-02-14 17:31:44 +00:00 committed by karlicoss
parent 6239879245
commit d562f00dca
21 changed files with 93 additions and 72 deletions

View file

@ -1,6 +1,7 @@
from my.foursquare import get_checkins
from .common import skip_if_not_karlicoss as pytestmark
def test_checkins():
def test_checkins() -> None:
from my.foursquare import get_checkins
# todo reuse stats?
checkins = get_checkins()
assert len(checkins) > 100