fixed lat/long unittest

This commit is contained in:
Tobias Wellnitz, DH1TW 2024-06-01 00:45:57 +02:00
parent 1c3536396d
commit 17117b1c20
2 changed files with 2 additions and 2 deletions

View file

@ -3,4 +3,4 @@ pytest==4.6.11; python_version=='3.6'
pytest-blockage>=0.2.2
pytest-localserver>=0.5
pytest-cov>=2.12
maidenhead==1.7.0
maidenhead==1.6.0

View file

@ -21,7 +21,7 @@ class Test_latlong_to_locator():
def test_latlong_to_locator_8chars_precision(self):
assert latlong_to_locator(48.51760, 9.40345, precision=8) == "JN48QM84"
assert latlong_to_locator(39.222916, -86.45416, 4) == "EM69SF53"
assert latlong_to_locator(39.222916, -86.45416, 8) == "EM69SF53"
def test_latlong_to_locator_invalid_characters(self):