[fix] Location test (#14921)

This commit is contained in:
Ameya Shenoy 2018-07-17 11:57:49 +05:30 committed by Nabin Hait
parent fc0a5833a5
commit 8ba1310915

View File

@ -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'))