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

10 lines
277 B
Python

from my import orgmode
from my.core.orgmode import collect
from .common import skip_if_not_karlicoss
@skip_if_not_karlicoss
def test() -> None:
# meh
results = list(orgmode.query().collect_all(lambda n: [n] if 'python' in n.tags else []))
assert len(results) > 5