location: add all.py, using takeout/gpslogger/ip (#237)

* location: add all.py, using takeout/gpslogger/ip, update docs
This commit is contained in:
seanbreckenridge 2022-04-26 13:11:35 -07:00 committed by GitHub
parent 66a00c6ada
commit 2cb836181b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 488 additions and 46 deletions

View file

@ -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: