location: add all.py, using takeout/gpslogger/ip (#237)
* location: add all.py, using takeout/gpslogger/ip, update docs
This commit is contained in:
parent
66a00c6ada
commit
2cb836181b
15 changed files with 488 additions and 46 deletions
|
@ -1,6 +1,5 @@
|
|||
from datetime import datetime, timedelta, date, timezone
|
||||
from pathlib import Path
|
||||
import sys
|
||||
|
||||
import pytest # type: ignore
|
||||
import pytz # type: ignore
|
||||
|
@ -80,7 +79,7 @@ def prepare(tmp_path: Path):
|
|||
from .common import reset_modules
|
||||
reset_modules()
|
||||
|
||||
LTZ._FASTER = True
|
||||
LTZ.config.fast = True
|
||||
|
||||
from .location import _prepare_google_config
|
||||
google = _prepare_google_config(tmp_path)
|
||||
|
@ -98,7 +97,8 @@ def prepare(tmp_path: Path):
|
|||
|
||||
class time:
|
||||
class tz:
|
||||
pass # just rely on the default..
|
||||
class via_location:
|
||||
pass # just rely on the defaults...
|
||||
|
||||
import my.core.cfg as C
|
||||
with C.tmp_config() as config:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue