polar: move to top level, add page support

This commit is contained in:
Dima Gerasimov 2021-05-29 13:10:11 +01:00 committed by karlicoss
parent e8be20dcb5
commit 2a4bddea79
5 changed files with 19 additions and 17 deletions

View file

@ -11,7 +11,7 @@ import pytest # type: ignore
def test_hpi(prepare: str) -> None:
from my.reading.polar import get_entries
from my.polar import get_entries
assert len(list(get_entries())) > 1
def test_orger(prepare: str, tmp_path: Path) -> None:
@ -45,7 +45,7 @@ def prepare(request):
import my.config
setattr(my.config, 'polar', user_config)
import my.reading.polar as polar
import my.polar as polar
reload(polar)
# TODO hmm... ok, need to document reload()
yield dotpolar