[fix] Location test (#14921)
This commit is contained in:
parent
fc0a5833a5
commit
8ba1310915
@ -27,6 +27,7 @@ class TestLocation(unittest.TestCase):
|
||||
|
||||
formatted_location_string = str(formatted_locations)
|
||||
test_location = frappe.get_doc('Location', 'Test Location Area')
|
||||
test_location.save()
|
||||
|
||||
self.assertEqual(formatted_location_string, str(json.loads(test_location.get('location'))['features']))
|
||||
self.assertEqual(area, test_location.get('area'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user