general: make time.tz.via_location user config lazy, move tests to my.tests package
also gets rid of the problematic reset_modules thingie
This commit is contained in:
parent
270080bd56
commit
a5643206a0
15 changed files with 269 additions and 233 deletions
|
@ -1,10 +1,9 @@
|
|||
from my.tests.common import skip_if_not_karlicoss as pytestmark
|
||||
|
||||
from my import orgmode
|
||||
from my.core.orgmode import collect
|
||||
|
||||
|
||||
def test() -> None:
|
||||
from my import orgmode
|
||||
from my.core.orgmode import collect
|
||||
|
||||
# meh
|
||||
results = list(orgmode.query().collect_all(lambda n: [n] if 'python' in n.tags else []))
|
||||
assert len(results) > 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue