HPI/tests/orgmode.py
2020-11-06 23:02:35 +01:00

7 lines
211 B
Python

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