Skip to content

Commit

Permalink
fixed lat/long unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dh1tw committed May 31, 2024
1 parent 1c35363 commit 17117b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion requirements-pytest.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion test/test_locator_latlong_to_locator.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def test_latlong_to_locator_6chars_precision(self):

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

Expand Down

0 comments on commit 17117b1

Please sign in to comment.