Skip to content

Commit 955a391

Browse files
author
codedawi
committed
✅ unittests for coorid to str
1 parent 761f62d commit 955a391

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/test_coordinates.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ def test_coordinates_class(latitude, longitude):
1313
check_obj = {"latitude": latitude, "longitude": longitude}
1414

1515
assert coord_obj.serialize() == check_obj
16+
assert str(coord_obj) == f"lat: {latitude}, long: {longitude}"

0 commit comments

Comments
 (0)