HPI/tests/github.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

16 lines
395 B
Python

from .common import skip_if_not_karlicoss as pytestmark
from more_itertools import ilen
# todo test against stats? not sure.. maybe both
def test_gdpr() -> None:
import my.github.gdpr as gdpr
assert ilen(gdpr.events()) > 100
def test() -> None:
from my.coding.github import get_events
events = get_events()
assert ilen(events) > 100
for e in events:
print(e)