@@ -751,14 +751,14 @@ def test_list_remote_state_consumers_with_pagination(
751751 """Test remote state consumers listing with pagination options."""
752752 mock_transport .request .return_value .json .return_value = {"data" : []}
753753
754- options = WorkspaceListRemoteStateConsumersOptions (page_number = 2 , page_size = 5 )
754+ options = WorkspaceListRemoteStateConsumersOptions (page_size = 5 )
755755
756756 list (workspaces_service .list_remote_state_consumers ("ws-123" , options ))
757757
758758 # Verify pagination parameters were passed
759759 call_args = mock_transport .request .call_args
760760 params = call_args [1 ]["params" ]
761- assert params ["page[number]" ] == 2
761+ assert params ["page[number]" ] == 1
762762 assert params ["page[size]" ] == 5
763763
764764 def test_add_remote_state_consumers_basic (self , workspaces_service , mock_transport ):
@@ -921,15 +921,15 @@ def test_list_tags_with_query_and_pagination(
921921 """Test tag listing with query and pagination options."""
922922 mock_transport .request .return_value .json .return_value = {"data" : []}
923923
924- options = WorkspaceTagListOptions (query = "env" , page_number = 2 , page_size = 5 )
924+ options = WorkspaceTagListOptions (query = "env" , page_size = 5 )
925925
926926 list (workspaces_service .list_tags ("ws-123" , options ))
927927
928928 # Verify query and pagination parameters were passed
929929 call_args = mock_transport .request .call_args
930930 params = call_args [1 ]["params" ]
931931 assert params ["name" ] == "env"
932- assert params ["page[number]" ] == 2
932+ assert params ["page[number]" ] == 1
933933 assert params ["page[size]" ] == 5
934934
935935 def test_add_tags_basic (self , workspaces_service , mock_transport ):
0 commit comments