mirror of
https://github.com/dh1tw/pyhamtools.git
synced 2025-12-06 06:52:00 +01:00
fixed lat/long unittest
This commit is contained in:
parent
1c3536396d
commit
17117b1c20
|
|
@ -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
|
||||
|
|
@ -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):
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue