HPI/tests/smscalls.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
343 B
Python

from .common import skip_if_not_karlicoss as pytestmark
# TODO maybe instead detect if it has any data at all
# if none, then skip the test, say that user doesn't have any data?
# TODO implement via stat?
def test() -> None:
from my.smscalls import calls, messages
assert len(list(calls())) > 10
assert len(list(messages())) > 10