@@ -91,7 +91,7 @@ def test_init_success(self, MockHttpClient):
9191 "Authorization" : "Bearer mock_token" ,
9292 "Content-Type" : "application/json" ,
9393 },
94- params = {},
94+ params = {"filter" : "enabled=false" },
9595 )
9696
9797 @patch ("httpx.Client" , autospec = True )
@@ -120,7 +120,7 @@ def test_init_with_quota_project_id_success(self, MockHttpClient):
120120 "Content-Type" : "application/json" ,
121121 "x-goog-user-project" : "quota-project" ,
122122 },
123- params = {},
123+ params = {"filter" : "enabled=false" },
124124 )
125125
126126 @patch ("httpx.Client" , autospec = True )
@@ -176,15 +176,15 @@ def test_init_with_pagination_success(self, MockHttpClient):
176176 "Authorization" : "Bearer mock_token" ,
177177 "Content-Type" : "application/json" ,
178178 },
179- params = {},
179+ params = {"filter" : "enabled=false" },
180180 )
181181 mock_client_instance .get .assert_called_with (
182182 f"https://cloudapiregistry.googleapis.com/v1beta/projects/{ self .project_id } /locations/{ self .location } /mcpServers" ,
183183 headers = {
184184 "Authorization" : "Bearer mock_token" ,
185185 "Content-Type" : "application/json" ,
186186 },
187- params = {"pageToken" : "next_page_token" },
187+ params = {"filter" : "enabled=false" , " pageToken" : "next_page_token" },
188188 )
189189
190190 @patch ("httpx.Client" , autospec = True )
0 commit comments