From 439b2d2f8a95803f20b06e33bb77fda5cba41422 Mon Sep 17 00:00:00 2001 From: Pawan Verma Date: Tue, 19 Nov 2024 15:51:12 +0530 Subject: [PATCH] Fix latitude error --- .../form_receiver/tests/test_receiver_integration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commcare_connect/form_receiver/tests/test_receiver_integration.py b/commcare_connect/form_receiver/tests/test_receiver_integration.py index 5ea4f70d..13eebfc9 100644 --- a/commcare_connect/form_receiver/tests/test_receiver_integration.py +++ b/commcare_connect/form_receiver/tests/test_receiver_integration.py @@ -178,7 +178,7 @@ def submit_form_for_random_entity(form_json): duplicate_json = deepcopy(form_json) duplicate_json["form"]["deliver"]["entity_id"] = str(uuid4()) # generate random locations for form submissions - duplicate_json["metadata"]["location"] = " ".join([str(random.uniform(10, 100)) for _ in range(4)]) + duplicate_json["metadata"]["location"] = " ".join([str(random.uniform(-90, 90)) for _ in range(4)]) make_request(api_client, duplicate_json, mobile_user_with_connect_link) payment_units = opportunity.paymentunit_set.all()