my.notes.orgmode: make a bit more iterative

This commit is contained in:
Dima Gerasimov 2020-10-10 23:43:12 +01:00 committed by karlicoss
parent 6a1a006202
commit 649537deca
2 changed files with 10 additions and 6 deletions

View file

@ -3,5 +3,5 @@ import my.notes.orgmode as orgmode
def test():
# meh
results = orgmode.query().query_all(lambda x: x.with_tag('python'))
results = list(orgmode.query().query_all(lambda x: x.with_tag('python')))
assert len(results) > 5