@@ -50,6 +50,7 @@ def test_search_params_underscores(self, client):
5050 limit = 10 ,
5151 external_id = "external_id" ,
5252 label = ["label1" , "label2" ],
53+ location__saved_location_id = "saved_location_id" ,
5354 )
5455
5556 client .request .assert_called_once_with (
@@ -72,6 +73,7 @@ def test_search_params_underscores(self, client):
7273 "limit" : 10 ,
7374 "external_id" : "external_id" ,
7475 "label" : "label1,label2" ,
76+ "location.saved_location_id" : "saved_location_id" ,
7577 },
7678 verify = True ,
7779 )
@@ -98,6 +100,7 @@ def test_search_params_dicts(self, client):
98100 limit = 10 ,
99101 external_id = "external_id" ,
100102 label = ["label1" , "label2" ],
103+ location__saved_location_id = "saved_location_id" ,
101104 )
102105
103106 client .request .assert_called_once_with (
@@ -120,6 +123,7 @@ def test_search_params_dicts(self, client):
120123 "limit" : 10 ,
121124 "external_id" : "external_id" ,
122125 "label" : "label1,label2" ,
126+ "location.saved_location_id" : "saved_location_id" ,
123127 },
124128 verify = True ,
125129 )
@@ -135,6 +139,7 @@ def test_create_params_underscores(self, client):
135139 location__unit = "km" ,
136140 location__google_place_id = "google_place_id" ,
137141 location__geoscope_paths = ["geoscope_path1" , "geoscope_path2" ],
142+ location__saved_location_id = "saved_location_id" ,
138143 rank__type = "type" ,
139144 rank__levels__phq = {"min" : 1.0 , "max" : 2.0 },
140145 rank__levels__local = {"min" : 3.0 , "max" : 4.0 },
@@ -158,6 +163,7 @@ def test_create_params_underscores(self, client):
158163 "unit" : "km" ,
159164 "google_place_id" : "google_place_id" ,
160165 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
166+ "saved_location_id" : "saved_location_id" ,
161167 },
162168 "rank" : {
163169 "type" : "type" ,
@@ -192,6 +198,7 @@ def test_create_params_dicts(self, client):
192198 "unit" : "km" ,
193199 "google_place_id" : "google_place_id" ,
194200 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
201+ "saved_location_id" : "saved_location_id" ,
195202 },
196203 rank = {
197204 "type" : "type" ,
@@ -222,6 +229,7 @@ def test_create_params_dicts(self, client):
222229 "unit" : "km" ,
223230 "google_place_id" : "google_place_id" ,
224231 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
232+ "saved_location_id" : "saved_location_id" ,
225233 },
226234 "rank" : {
227235 "type" : "type" ,
@@ -255,6 +263,7 @@ def test_update_params_underscores(self, client):
255263 location__unit = "km" ,
256264 location__google_place_id = "google_place_id" ,
257265 location__geoscope_paths = ["geoscope_path1" , "geoscope_path2" ],
266+ location__saved_location_id = "saved_location_id" ,
258267 rank__type = "type" ,
259268 rank__levels__phq = {"min" : 1.0 , "max" : 2.0 },
260269 rank__levels__local = {"min" : 3.0 , "max" : 4.0 },
@@ -278,6 +287,7 @@ def test_update_params_underscores(self, client):
278287 "unit" : "km" ,
279288 "google_place_id" : "google_place_id" ,
280289 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
290+ "saved_location_id" : "saved_location_id" ,
281291 },
282292 "rank" : {
283293 "type" : "type" ,
@@ -310,6 +320,7 @@ def test_update_params_dicts(self, client):
310320 "unit" : "km" ,
311321 "google_place_id" : "google_place_id" ,
312322 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
323+ "saved_location_id" : "saved_location_id" ,
313324 },
314325 rank = {
315326 "type" : "type" ,
@@ -340,6 +351,7 @@ def test_update_params_dicts(self, client):
340351 "unit" : "km" ,
341352 "google_place_id" : "google_place_id" ,
342353 "geoscope_paths" : ["geoscope_path1" , "geoscope_path2" ],
354+ "saved_location_id" : "saved_location_id" ,
343355 },
344356 "rank" : {
345357 "type" : "type" ,
0 commit comments