shared config for tests,add fallback location test

This commit is contained in:
Sean Breckenridge 2023-02-27 00:08:55 -08:00
parent ec1ea9710e
commit c707116d31
7 changed files with 206 additions and 58 deletions

View file

@ -32,6 +32,7 @@ def _gpslogger_locations() -> Iterator[Location]:
yield from gpslogger.locations()
# TODO: remove, user should use fallback.estimate_location or fallback.fallback_locations instead
@import_source(module_name="my.location.via_ip")
def _ip_locations() -> Iterator[Location]:
from . import via_ip