diff --git a/tests/api_resources/environments/automations/tasks/test_executions.py b/tests/api_resources/environments/automations/tasks/test_executions.py index 43dc6d0..136a011 100644 --- a/tests/api_resources/environments/automations/tasks/test_executions.py +++ b/tests/api_resources/environments/automations/tasks/test_executions.py @@ -21,11 +21,13 @@ class TestExecutions: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.retrieve() assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.retrieve( @@ -33,6 +35,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.environments.automations.tasks.executions.with_raw_response.retrieve() @@ -42,6 +45,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: execution = response.parse() assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.environments.automations.tasks.executions.with_streaming_response.retrieve() as response: @@ -53,11 +57,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.list() assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.list( @@ -76,6 +82,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.environments.automations.tasks.executions.with_raw_response.list() @@ -85,6 +92,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: execution = response.parse() assert_matches_type(SyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.environments.automations.tasks.executions.with_streaming_response.list() as response: @@ -96,11 +104,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_stop(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.stop() assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_stop_with_all_params(self, client: Gitpod) -> None: execution = client.environments.automations.tasks.executions.stop( @@ -108,6 +118,7 @@ def test_method_stop_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_stop(self, client: Gitpod) -> None: response = client.environments.automations.tasks.executions.with_raw_response.stop() @@ -117,6 +128,7 @@ def test_raw_response_stop(self, client: Gitpod) -> None: execution = response.parse() assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_stop(self, client: Gitpod) -> None: with client.environments.automations.tasks.executions.with_streaming_response.stop() as response: @@ -132,11 +144,13 @@ def test_streaming_response_stop(self, client: Gitpod) -> None: class TestAsyncExecutions: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.retrieve() assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.retrieve( @@ -144,6 +158,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.executions.with_raw_response.retrieve() @@ -153,6 +168,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: execution = await response.parse() assert_matches_type(ExecutionRetrieveResponse, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with ( @@ -166,11 +182,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.list() assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.list( @@ -189,6 +207,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.executions.with_raw_response.list() @@ -198,6 +217,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: execution = await response.parse() assert_matches_type(AsyncTaskExecutionsPage[ExecutionListResponse], execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.executions.with_streaming_response.list() as response: @@ -209,11 +229,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_stop(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.stop() assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> None: execution = await async_client.environments.automations.tasks.executions.stop( @@ -221,6 +243,7 @@ async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.executions.with_raw_response.stop() @@ -230,6 +253,7 @@ async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: execution = await response.parse() assert_matches_type(object, execution, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_stop(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.executions.with_streaming_response.stop() as response: diff --git a/tests/api_resources/environments/automations/test_services.py b/tests/api_resources/environments/automations/test_services.py index 40f9a7b..f6a1893 100644 --- a/tests/api_resources/environments/automations/test_services.py +++ b/tests/api_resources/environments/automations/test_services.py @@ -23,11 +23,13 @@ class TestServices: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: service = client.environments.automations.services.create() assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.create( @@ -62,6 +64,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.create() @@ -71,6 +74,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.create() as response: @@ -82,11 +86,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: service = client.environments.automations.services.retrieve() assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.retrieve( @@ -94,6 +100,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.retrieve() @@ -103,6 +110,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.retrieve() as response: @@ -114,11 +122,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Gitpod) -> None: service = client.environments.automations.services.update() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.update( @@ -129,6 +139,7 @@ def test_method_update_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.update() @@ -138,6 +149,7 @@ def test_raw_response_update(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.update() as response: @@ -149,11 +161,13 @@ def test_streaming_response_update(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: service = client.environments.automations.services.list() assert_matches_type(SyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.list( @@ -171,6 +185,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.list() @@ -180,6 +195,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(SyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.list() as response: @@ -191,11 +207,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: service = client.environments.automations.services.delete() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.delete( @@ -204,6 +222,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.delete() @@ -213,6 +232,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.delete() as response: @@ -224,11 +244,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_start(self, client: Gitpod) -> None: service = client.environments.automations.services.start() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_start_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.start( @@ -236,6 +258,7 @@ def test_method_start_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_start(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.start() @@ -245,6 +268,7 @@ def test_raw_response_start(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_start(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.start() as response: @@ -256,11 +280,13 @@ def test_streaming_response_start(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_stop(self, client: Gitpod) -> None: service = client.environments.automations.services.stop() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_stop_with_all_params(self, client: Gitpod) -> None: service = client.environments.automations.services.stop( @@ -268,6 +294,7 @@ def test_method_stop_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_stop(self, client: Gitpod) -> None: response = client.environments.automations.services.with_raw_response.stop() @@ -277,6 +304,7 @@ def test_raw_response_stop(self, client: Gitpod) -> None: service = response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_stop(self, client: Gitpod) -> None: with client.environments.automations.services.with_streaming_response.stop() as response: @@ -292,11 +320,13 @@ def test_streaming_response_stop(self, client: Gitpod) -> None: class TestAsyncServices: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.create() assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.create( @@ -331,6 +361,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.create() @@ -340,6 +371,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(ServiceCreateResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.create() as response: @@ -351,11 +383,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.retrieve() assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.retrieve( @@ -363,6 +397,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.retrieve() @@ -372,6 +407,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(ServiceRetrieveResponse, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.retrieve() as response: @@ -383,11 +419,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.update() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.update( @@ -398,6 +436,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.update() @@ -407,6 +446,7 @@ async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.update() as response: @@ -418,11 +458,13 @@ async def test_streaming_response_update(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.list() assert_matches_type(AsyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.list( @@ -440,6 +482,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.list() @@ -449,6 +492,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(AsyncServicesPage[ServiceListResponse], service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.list() as response: @@ -460,11 +504,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.delete() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.delete( @@ -473,6 +519,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.delete() @@ -482,6 +529,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.delete() as response: @@ -493,11 +541,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_start(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.start() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.start( @@ -505,6 +555,7 @@ async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.start() @@ -514,6 +565,7 @@ async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_start(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.start() as response: @@ -525,11 +577,13 @@ async def test_streaming_response_start(self, async_client: AsyncGitpod) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_stop(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.stop() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> None: service = await async_client.environments.automations.services.stop( @@ -537,6 +591,7 @@ async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.services.with_raw_response.stop() @@ -546,6 +601,7 @@ async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: service = await response.parse() assert_matches_type(object, service, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_stop(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.services.with_streaming_response.stop() as response: diff --git a/tests/api_resources/environments/automations/test_tasks.py b/tests/api_resources/environments/automations/test_tasks.py index 3138f43..381d28f 100644 --- a/tests/api_resources/environments/automations/test_tasks.py +++ b/tests/api_resources/environments/automations/test_tasks.py @@ -24,11 +24,13 @@ class TestTasks: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: task = client.environments.automations.tasks.create() assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.create( @@ -57,6 +59,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.create() @@ -66,6 +69,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.create() as response: @@ -77,11 +81,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: task = client.environments.automations.tasks.retrieve() assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.retrieve( @@ -89,6 +95,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.retrieve() @@ -98,6 +105,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.retrieve() as response: @@ -109,11 +117,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Gitpod) -> None: task = client.environments.automations.tasks.update() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.update( @@ -124,6 +134,7 @@ def test_method_update_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.update() @@ -133,6 +144,7 @@ def test_raw_response_update(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.update() as response: @@ -144,11 +156,13 @@ def test_streaming_response_update(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: task = client.environments.automations.tasks.list() assert_matches_type(SyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.list( @@ -166,6 +180,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.list() @@ -175,6 +190,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(SyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.list() as response: @@ -186,11 +202,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: task = client.environments.automations.tasks.delete() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.delete( @@ -198,6 +216,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.delete() @@ -207,6 +226,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.delete() as response: @@ -218,11 +238,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_start(self, client: Gitpod) -> None: task = client.environments.automations.tasks.start() assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_start_with_all_params(self, client: Gitpod) -> None: task = client.environments.automations.tasks.start( @@ -230,6 +252,7 @@ def test_method_start_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_start(self, client: Gitpod) -> None: response = client.environments.automations.tasks.with_raw_response.start() @@ -239,6 +262,7 @@ def test_raw_response_start(self, client: Gitpod) -> None: task = response.parse() assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_start(self, client: Gitpod) -> None: with client.environments.automations.tasks.with_streaming_response.start() as response: @@ -254,11 +278,13 @@ def test_streaming_response_start(self, client: Gitpod) -> None: class TestAsyncTasks: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.create() assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.create( @@ -287,6 +313,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.create() @@ -296,6 +323,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(TaskCreateResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.create() as response: @@ -307,11 +335,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.retrieve() assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.retrieve( @@ -319,6 +349,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.retrieve() @@ -328,6 +359,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(TaskRetrieveResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.retrieve() as response: @@ -339,11 +371,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.update() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.update( @@ -354,6 +388,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.update() @@ -363,6 +398,7 @@ async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.update() as response: @@ -374,11 +410,13 @@ async def test_streaming_response_update(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.list() assert_matches_type(AsyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.list( @@ -396,6 +434,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.list() @@ -405,6 +444,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(AsyncTasksPage[TaskListResponse], task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.list() as response: @@ -416,11 +456,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.delete() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.delete( @@ -428,6 +470,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.delete() @@ -437,6 +480,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(object, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.delete() as response: @@ -448,11 +492,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_start(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.start() assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> None: task = await async_client.environments.automations.tasks.start( @@ -460,6 +506,7 @@ async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.tasks.with_raw_response.start() @@ -469,6 +516,7 @@ async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: task = await response.parse() assert_matches_type(TaskStartResponse, task, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_start(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.tasks.with_streaming_response.start() as response: diff --git a/tests/api_resources/environments/test_automations.py b/tests/api_resources/environments/test_automations.py index 5b0f7c2..e4c8ffd 100644 --- a/tests/api_resources/environments/test_automations.py +++ b/tests/api_resources/environments/test_automations.py @@ -17,11 +17,13 @@ class TestAutomations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_upsert(self, client: Gitpod) -> None: automation = client.environments.automations.upsert() assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_upsert_with_all_params(self, client: Gitpod) -> None: automation = client.environments.automations.upsert( @@ -64,6 +66,7 @@ def test_method_upsert_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_upsert(self, client: Gitpod) -> None: response = client.environments.automations.with_raw_response.upsert() @@ -73,6 +76,7 @@ def test_raw_response_upsert(self, client: Gitpod) -> None: automation = response.parse() assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_upsert(self, client: Gitpod) -> None: with client.environments.automations.with_streaming_response.upsert() as response: @@ -88,11 +92,13 @@ def test_streaming_response_upsert(self, client: Gitpod) -> None: class TestAsyncAutomations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_upsert(self, async_client: AsyncGitpod) -> None: automation = await async_client.environments.automations.upsert() assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_upsert_with_all_params(self, async_client: AsyncGitpod) -> None: automation = await async_client.environments.automations.upsert( @@ -135,6 +141,7 @@ async def test_method_upsert_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_upsert(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.automations.with_raw_response.upsert() @@ -144,6 +151,7 @@ async def test_raw_response_upsert(self, async_client: AsyncGitpod) -> None: automation = await response.parse() assert_matches_type(AutomationUpsertResponse, automation, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_upsert(self, async_client: AsyncGitpod) -> None: async with async_client.environments.automations.with_streaming_response.upsert() as response: diff --git a/tests/api_resources/environments/test_classes.py b/tests/api_resources/environments/test_classes.py index 7ef88fa..3b525f3 100644 --- a/tests/api_resources/environments/test_classes.py +++ b/tests/api_resources/environments/test_classes.py @@ -18,11 +18,13 @@ class TestClasses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: class_ = client.environments.classes.list() assert_matches_type(SyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: class_ = client.environments.classes.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.environments.classes.with_raw_response.list() @@ -45,6 +48,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: class_ = response.parse() assert_matches_type(SyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.environments.classes.with_streaming_response.list() as response: @@ -60,11 +64,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: class TestAsyncClasses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: class_ = await async_client.environments.classes.list() assert_matches_type(AsyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: class_ = await async_client.environments.classes.list( @@ -78,6 +84,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.classes.with_raw_response.list() @@ -87,6 +94,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: class_ = await response.parse() assert_matches_type(AsyncEnvironmentClassesPage[ClassListResponse], class_, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.environments.classes.with_streaming_response.list() as response: diff --git a/tests/api_resources/organizations/test_invites.py b/tests/api_resources/organizations/test_invites.py index 0f80a2a..b158bc4 100644 --- a/tests/api_resources/organizations/test_invites.py +++ b/tests/api_resources/organizations/test_invites.py @@ -21,11 +21,13 @@ class TestInvites: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: invite = client.organizations.invites.create() assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: invite = client.organizations.invites.create( @@ -33,6 +35,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.organizations.invites.with_raw_response.create() @@ -42,6 +45,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: invite = response.parse() assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.organizations.invites.with_streaming_response.create() as response: @@ -53,11 +57,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: invite = client.organizations.invites.retrieve() assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: invite = client.organizations.invites.retrieve( @@ -65,6 +71,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.organizations.invites.with_raw_response.retrieve() @@ -74,6 +81,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: invite = response.parse() assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.organizations.invites.with_streaming_response.retrieve() as response: @@ -85,11 +93,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get_summary(self, client: Gitpod) -> None: invite = client.organizations.invites.get_summary() assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_summary_with_all_params(self, client: Gitpod) -> None: invite = client.organizations.invites.get_summary( @@ -97,6 +107,7 @@ def test_method_get_summary_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_summary(self, client: Gitpod) -> None: response = client.organizations.invites.with_raw_response.get_summary() @@ -106,6 +117,7 @@ def test_raw_response_get_summary(self, client: Gitpod) -> None: invite = response.parse() assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_summary(self, client: Gitpod) -> None: with client.organizations.invites.with_streaming_response.get_summary() as response: @@ -121,11 +133,13 @@ def test_streaming_response_get_summary(self, client: Gitpod) -> None: class TestAsyncInvites: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.create() assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.create( @@ -133,6 +147,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.invites.with_raw_response.create() @@ -142,6 +157,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: invite = await response.parse() assert_matches_type(InviteCreateResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.invites.with_streaming_response.create() as response: @@ -153,11 +169,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.retrieve() assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.retrieve( @@ -165,6 +183,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.invites.with_raw_response.retrieve() @@ -174,6 +193,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: invite = await response.parse() assert_matches_type(InviteRetrieveResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.invites.with_streaming_response.retrieve() as response: @@ -185,11 +205,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get_summary(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.get_summary() assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_summary_with_all_params(self, async_client: AsyncGitpod) -> None: invite = await async_client.organizations.invites.get_summary( @@ -197,6 +219,7 @@ async def test_method_get_summary_with_all_params(self, async_client: AsyncGitpo ) assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_summary(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.invites.with_raw_response.get_summary() @@ -206,6 +229,7 @@ async def test_raw_response_get_summary(self, async_client: AsyncGitpod) -> None invite = await response.parse() assert_matches_type(InviteGetSummaryResponse, invite, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_summary(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.invites.with_streaming_response.get_summary() as response: diff --git a/tests/api_resources/organizations/test_sso_configurations.py b/tests/api_resources/organizations/test_sso_configurations.py index e23cf09..04d19db 100644 --- a/tests/api_resources/organizations/test_sso_configurations.py +++ b/tests/api_resources/organizations/test_sso_configurations.py @@ -22,11 +22,13 @@ class TestSSOConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.create() assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.create( @@ -38,6 +40,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.create() @@ -47,6 +50,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.create() as response: @@ -58,11 +62,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.retrieve() assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.retrieve( @@ -70,6 +76,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.retrieve() @@ -79,6 +86,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.retrieve() as response: @@ -90,6 +98,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.update( @@ -97,6 +106,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.update( @@ -108,6 +118,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.update( @@ -121,6 +132,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.update( @@ -128,6 +140,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.update( @@ -139,6 +152,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.update( @@ -152,6 +166,7 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.update( @@ -159,6 +174,7 @@ def test_method_update_overload_3(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.update( @@ -170,6 +186,7 @@ def test_raw_response_update_overload_3(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.update( @@ -183,6 +200,7 @@ def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.update( @@ -190,6 +208,7 @@ def test_method_update_overload_4(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.update( @@ -201,6 +220,7 @@ def test_raw_response_update_overload_4(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.update( @@ -214,6 +234,7 @@ def test_streaming_response_update_overload_4(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_5(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.update( @@ -221,6 +242,7 @@ def test_method_update_overload_5(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_5(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.update( @@ -232,6 +254,7 @@ def test_raw_response_update_overload_5(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_5(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.update( @@ -245,6 +268,7 @@ def test_streaming_response_update_overload_5(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.list() @@ -252,6 +276,7 @@ def test_method_list(self, client: Gitpod) -> None: SyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.list( @@ -267,6 +292,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: SyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.list() @@ -278,6 +304,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: SyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.list() as response: @@ -291,11 +318,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.delete() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: sso_configuration = client.organizations.sso_configurations.delete( @@ -303,6 +332,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.organizations.sso_configurations.with_raw_response.delete() @@ -312,6 +342,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: sso_configuration = response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.organizations.sso_configurations.with_streaming_response.delete() as response: @@ -327,11 +358,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: class TestAsyncSSOConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.create() assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.create( @@ -343,6 +376,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.create() @@ -352,6 +386,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: sso_configuration = await response.parse() assert_matches_type(SSOConfigurationCreateResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.create() as response: @@ -363,11 +398,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.retrieve() assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.retrieve( @@ -375,6 +412,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.retrieve() @@ -384,6 +422,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: sso_configuration = await response.parse() assert_matches_type(SSOConfigurationRetrieveResponse, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.retrieve() as response: @@ -395,6 +434,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.update( @@ -402,6 +442,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.update( @@ -413,6 +454,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.update( @@ -426,6 +468,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.update( @@ -433,6 +476,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.update( @@ -444,6 +488,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.update( @@ -457,6 +502,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.update( @@ -464,6 +510,7 @@ async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.update( @@ -475,6 +522,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) - sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.update( @@ -488,6 +536,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.update( @@ -495,6 +544,7 @@ async def test_method_update_overload_4(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.update( @@ -506,6 +556,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncGitpod) - sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.update( @@ -519,6 +570,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_5(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.update( @@ -526,6 +578,7 @@ async def test_method_update_overload_5(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.update( @@ -537,6 +590,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncGitpod) - sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.update( @@ -550,6 +604,7 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.list() @@ -557,6 +612,7 @@ async def test_method_list(self, async_client: AsyncGitpod) -> None: AsyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.list( @@ -572,6 +628,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N AsyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.list() @@ -583,6 +640,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: AsyncSSOConfigurationsPage[SSOConfigurationListResponse], sso_configuration, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.list() as response: @@ -596,11 +654,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.delete() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: sso_configuration = await async_client.organizations.sso_configurations.delete( @@ -608,6 +668,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.sso_configurations.with_raw_response.delete() @@ -617,6 +678,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: sso_configuration = await response.parse() assert_matches_type(object, sso_configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.sso_configurations.with_streaming_response.delete() as response: diff --git a/tests/api_resources/projects/test_policies.py b/tests/api_resources/projects/test_policies.py index 84f3f9a..c066dcb 100644 --- a/tests/api_resources/projects/test_policies.py +++ b/tests/api_resources/projects/test_policies.py @@ -22,11 +22,13 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: policy = client.projects.policies.create() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: policy = client.projects.policies.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.projects.policies.with_raw_response.create() @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.projects.policies.with_streaming_response.create() as response: @@ -56,11 +60,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Gitpod) -> None: policy = client.projects.policies.update() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Gitpod) -> None: policy = client.projects.policies.update( @@ -70,6 +76,7 @@ def test_method_update_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Gitpod) -> None: response = client.projects.policies.with_raw_response.update() @@ -79,6 +86,7 @@ def test_raw_response_update(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Gitpod) -> None: with client.projects.policies.with_streaming_response.update() as response: @@ -90,11 +98,13 @@ def test_streaming_response_update(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: policy = client.projects.policies.list() assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: policy = client.projects.policies.list( @@ -108,6 +118,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.projects.policies.with_raw_response.list() @@ -117,6 +128,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.projects.policies.with_streaming_response.list() as response: @@ -128,11 +140,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: policy = client.projects.policies.delete() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: policy = client.projects.policies.delete( @@ -141,6 +155,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.projects.policies.with_raw_response.delete() @@ -150,6 +165,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.projects.policies.with_streaming_response.delete() as response: @@ -165,11 +181,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.create() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.create( @@ -179,6 +197,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.policies.with_raw_response.create() @@ -188,6 +207,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.projects.policies.with_streaming_response.create() as response: @@ -199,11 +219,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.update() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.update( @@ -213,6 +235,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.policies.with_raw_response.update() @@ -222,6 +245,7 @@ async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncGitpod) -> None: async with async_client.projects.policies.with_streaming_response.update() as response: @@ -233,11 +257,13 @@ async def test_streaming_response_update(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.list() assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.list( @@ -251,6 +277,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.policies.with_raw_response.list() @@ -260,6 +287,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.projects.policies.with_streaming_response.list() as response: @@ -271,11 +299,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.delete() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.projects.policies.delete( @@ -284,6 +314,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.policies.with_raw_response.delete() @@ -293,6 +324,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.projects.policies.with_streaming_response.delete() as response: diff --git a/tests/api_resources/runners/configurations/test_environment_classes.py b/tests/api_resources/runners/configurations/test_environment_classes.py index 50c8598..d08bb88 100644 --- a/tests/api_resources/runners/configurations/test_environment_classes.py +++ b/tests/api_resources/runners/configurations/test_environment_classes.py @@ -22,11 +22,13 @@ class TestEnvironmentClasses: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.create() assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.create( @@ -42,6 +44,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.create() @@ -51,6 +54,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: environment_class = response.parse() assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.create() as response: @@ -62,11 +66,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.retrieve() assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.retrieve( @@ -74,6 +80,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.retrieve() @@ -83,6 +90,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: environment_class = response.parse() assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.retrieve() as response: @@ -94,6 +102,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.update( @@ -101,6 +110,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.update( @@ -112,6 +122,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: environment_class = response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.update( @@ -125,6 +136,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.update( @@ -132,6 +144,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.update( @@ -143,6 +156,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: environment_class = response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.update( @@ -156,6 +170,7 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.update( @@ -163,6 +178,7 @@ def test_method_update_overload_3(self, client: Gitpod) -> None: ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.update( @@ -174,6 +190,7 @@ def test_raw_response_update_overload_3(self, client: Gitpod) -> None: environment_class = response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.update( @@ -187,6 +204,7 @@ def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.list() @@ -194,6 +212,7 @@ def test_method_list(self, client: Gitpod) -> None: SyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: environment_class = client.runners.configurations.environment_classes.list( @@ -209,6 +228,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: SyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.runners.configurations.environment_classes.with_raw_response.list() @@ -220,6 +240,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: SyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.runners.configurations.environment_classes.with_streaming_response.list() as response: @@ -237,11 +258,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: class TestAsyncEnvironmentClasses: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.create() assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.create( @@ -257,6 +280,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.create() @@ -266,6 +290,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: environment_class = await response.parse() assert_matches_type(EnvironmentClassCreateResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.environment_classes.with_streaming_response.create() as response: @@ -277,11 +302,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.retrieve() assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.retrieve( @@ -289,6 +316,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.retrieve() @@ -298,6 +326,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: environment_class = await response.parse() assert_matches_type(EnvironmentClassRetrieveResponse, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with ( @@ -311,6 +340,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.update( @@ -318,6 +348,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.update( @@ -329,6 +360,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - environment_class = await response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.environment_classes.with_streaming_response.update( @@ -342,6 +374,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.update( @@ -349,6 +382,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.update( @@ -360,6 +394,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - environment_class = await response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.environment_classes.with_streaming_response.update( @@ -373,6 +408,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.update( @@ -380,6 +416,7 @@ async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.update( @@ -391,6 +428,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) - environment_class = await response.parse() assert_matches_type(object, environment_class, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.environment_classes.with_streaming_response.update( @@ -404,6 +442,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.list() @@ -411,6 +450,7 @@ async def test_method_list(self, async_client: AsyncGitpod) -> None: AsyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: environment_class = await async_client.runners.configurations.environment_classes.list( @@ -426,6 +466,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N AsyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.environment_classes.with_raw_response.list() @@ -437,6 +478,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: AsyncEnvironmentClassesPage[EnvironmentClassListResponse], environment_class, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.environment_classes.with_streaming_response.list() as response: diff --git a/tests/api_resources/runners/configurations/test_host_authentication_tokens.py b/tests/api_resources/runners/configurations/test_host_authentication_tokens.py index 6e1752b..1520b2a 100644 --- a/tests/api_resources/runners/configurations/test_host_authentication_tokens.py +++ b/tests/api_resources/runners/configurations/test_host_authentication_tokens.py @@ -23,11 +23,13 @@ class TestHostAuthenticationTokens: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.create() assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.create( @@ -41,6 +43,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.create() @@ -50,6 +53,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.create() as response: @@ -61,11 +65,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.retrieve() assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.retrieve( @@ -73,6 +79,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.retrieve() @@ -82,6 +89,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.retrieve() as response: @@ -93,6 +101,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.update( @@ -100,6 +109,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -111,6 +121,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -124,6 +135,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.update( @@ -131,6 +143,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -142,6 +155,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -155,6 +169,7 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.update( @@ -162,6 +177,7 @@ def test_method_update_overload_3(self, client: Gitpod) -> None: ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -173,6 +189,7 @@ def test_raw_response_update_overload_3(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -186,6 +203,7 @@ def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.list() @@ -193,6 +211,7 @@ def test_method_list(self, client: Gitpod) -> None: SyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.list( @@ -208,6 +227,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: SyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.list() @@ -219,6 +239,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: SyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.list() as response: @@ -232,11 +253,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.delete() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: host_authentication_token = client.runners.configurations.host_authentication_tokens.delete( @@ -244,6 +267,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.runners.configurations.host_authentication_tokens.with_raw_response.delete() @@ -253,6 +277,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: host_authentication_token = response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.runners.configurations.host_authentication_tokens.with_streaming_response.delete() as response: @@ -268,11 +293,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: class TestAsyncHostAuthenticationTokens: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.create() assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.create( @@ -286,6 +313,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.create() @@ -295,6 +323,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: host_authentication_token = await response.parse() assert_matches_type(HostAuthenticationTokenCreateResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with ( @@ -308,11 +337,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.retrieve() assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.retrieve( @@ -320,6 +351,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.retrieve() @@ -329,6 +361,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: host_authentication_token = await response.parse() assert_matches_type(HostAuthenticationTokenRetrieveResponse, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with ( @@ -342,6 +375,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.update( @@ -349,6 +383,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -360,6 +395,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - host_authentication_token = await response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -373,6 +409,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.update( @@ -380,6 +417,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -391,6 +429,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - host_authentication_token = await response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -404,6 +443,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.update( @@ -411,6 +451,7 @@ async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.update( @@ -422,6 +463,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) - host_authentication_token = await response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.host_authentication_tokens.with_streaming_response.update( @@ -435,6 +477,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.list() @@ -442,6 +485,7 @@ async def test_method_list(self, async_client: AsyncGitpod) -> None: AsyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.list( @@ -457,6 +501,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N AsyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.list() @@ -468,6 +513,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: AsyncTokensPage[HostAuthenticationTokenListResponse], host_authentication_token, path=["response"] ) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with ( @@ -483,11 +529,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.delete() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: host_authentication_token = await async_client.runners.configurations.host_authentication_tokens.delete( @@ -495,6 +543,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.host_authentication_tokens.with_raw_response.delete() @@ -504,6 +553,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: host_authentication_token = await response.parse() assert_matches_type(object, host_authentication_token, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with ( diff --git a/tests/api_resources/runners/configurations/test_schema.py b/tests/api_resources/runners/configurations/test_schema.py index 4760118..3fce8e3 100644 --- a/tests/api_resources/runners/configurations/test_schema.py +++ b/tests/api_resources/runners/configurations/test_schema.py @@ -17,11 +17,13 @@ class TestSchema: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: schema = client.runners.configurations.schema.retrieve() assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: schema = client.runners.configurations.schema.retrieve( @@ -29,6 +31,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.runners.configurations.schema.with_raw_response.retrieve() @@ -38,6 +41,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: schema = response.parse() assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.runners.configurations.schema.with_streaming_response.retrieve() as response: @@ -53,11 +57,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: class TestAsyncSchema: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: schema = await async_client.runners.configurations.schema.retrieve() assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: schema = await async_client.runners.configurations.schema.retrieve( @@ -65,6 +71,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.schema.with_raw_response.retrieve() @@ -74,6 +81,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: schema = await response.parse() assert_matches_type(SchemaRetrieveResponse, schema, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.schema.with_streaming_response.retrieve() as response: diff --git a/tests/api_resources/runners/configurations/test_scm_integrations.py b/tests/api_resources/runners/configurations/test_scm_integrations.py index 4f404ea..e827e39 100644 --- a/tests/api_resources/runners/configurations/test_scm_integrations.py +++ b/tests/api_resources/runners/configurations/test_scm_integrations.py @@ -22,6 +22,7 @@ class TestScmIntegrations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.create( @@ -29,6 +30,7 @@ def test_method_create_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.create( @@ -40,6 +42,7 @@ def test_raw_response_create_overload_1(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.create( @@ -53,6 +56,7 @@ def test_streaming_response_create_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.create( @@ -60,6 +64,7 @@ def test_method_create_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.create( @@ -71,6 +76,7 @@ def test_raw_response_create_overload_2(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.create( @@ -84,11 +90,13 @@ def test_streaming_response_create_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.retrieve() assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.retrieve( @@ -96,6 +104,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.retrieve() @@ -105,6 +114,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.retrieve() as response: @@ -116,6 +126,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.update( @@ -123,6 +134,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.update( @@ -134,6 +146,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -147,6 +160,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.update( @@ -154,6 +168,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.update( @@ -165,6 +180,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -178,6 +194,7 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.update( @@ -185,6 +202,7 @@ def test_method_update_overload_3(self, client: Gitpod) -> None: ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.update( @@ -196,6 +214,7 @@ def test_raw_response_update_overload_3(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -209,11 +228,13 @@ def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.list() assert_matches_type(SyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.list( @@ -227,6 +248,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.list() @@ -236,6 +258,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(SyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.list() as response: @@ -247,11 +270,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.delete() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: scm_integration = client.runners.configurations.scm_integrations.delete( @@ -259,6 +284,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.runners.configurations.scm_integrations.with_raw_response.delete() @@ -268,6 +294,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: scm_integration = response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.runners.configurations.scm_integrations.with_streaming_response.delete() as response: @@ -283,6 +310,7 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: class TestAsyncScmIntegrations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.create( @@ -290,6 +318,7 @@ async def test_method_create_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.create( @@ -301,6 +330,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncGitpod) - scm_integration = await response.parse() assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.create( @@ -314,6 +344,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.create( @@ -321,6 +352,7 @@ async def test_method_create_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.create( @@ -332,6 +364,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncGitpod) - scm_integration = await response.parse() assert_matches_type(ScmIntegrationCreateResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.create( @@ -345,11 +378,13 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.retrieve() assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.retrieve( @@ -357,6 +392,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.retrieve() @@ -366,6 +402,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: scm_integration = await response.parse() assert_matches_type(ScmIntegrationRetrieveResponse, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.retrieve() as response: @@ -377,6 +414,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.update( @@ -384,6 +422,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.update( @@ -395,6 +434,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - scm_integration = await response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -408,6 +448,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.update( @@ -415,6 +456,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.update( @@ -426,6 +468,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - scm_integration = await response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -439,6 +482,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.update( @@ -446,6 +490,7 @@ async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.update( @@ -457,6 +502,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) - scm_integration = await response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.update( @@ -470,11 +516,13 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.list() assert_matches_type(AsyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.list( @@ -488,6 +536,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.list() @@ -497,6 +546,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: scm_integration = await response.parse() assert_matches_type(AsyncIntegrationsPage[ScmIntegrationListResponse], scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.list() as response: @@ -508,11 +558,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.delete() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: scm_integration = await async_client.runners.configurations.scm_integrations.delete( @@ -520,6 +572,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.scm_integrations.with_raw_response.delete() @@ -529,6 +582,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: scm_integration = await response.parse() assert_matches_type(object, scm_integration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.scm_integrations.with_streaming_response.delete() as response: diff --git a/tests/api_resources/runners/test_configurations.py b/tests/api_resources/runners/test_configurations.py index b64232a..833058d 100644 --- a/tests/api_resources/runners/test_configurations.py +++ b/tests/api_resources/runners/test_configurations.py @@ -17,6 +17,7 @@ class TestConfigurations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_validate_overload_1(self, client: Gitpod) -> None: configuration = client.runners.configurations.validate( @@ -24,6 +25,7 @@ def test_method_validate_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_validate_with_all_params_overload_1(self, client: Gitpod) -> None: configuration = client.runners.configurations.validate( @@ -44,6 +46,7 @@ def test_method_validate_with_all_params_overload_1(self, client: Gitpod) -> Non ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_validate_overload_1(self, client: Gitpod) -> None: response = client.runners.configurations.with_raw_response.validate( @@ -55,6 +58,7 @@ def test_raw_response_validate_overload_1(self, client: Gitpod) -> None: configuration = response.parse() assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_validate_overload_1(self, client: Gitpod) -> None: with client.runners.configurations.with_streaming_response.validate( @@ -68,6 +72,7 @@ def test_streaming_response_validate_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_validate_overload_2(self, client: Gitpod) -> None: configuration = client.runners.configurations.validate( @@ -75,6 +80,7 @@ def test_method_validate_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_validate_with_all_params_overload_2(self, client: Gitpod) -> None: configuration = client.runners.configurations.validate( @@ -83,6 +89,7 @@ def test_method_validate_with_all_params_overload_2(self, client: Gitpod) -> Non ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_validate_overload_2(self, client: Gitpod) -> None: response = client.runners.configurations.with_raw_response.validate( @@ -94,6 +101,7 @@ def test_raw_response_validate_overload_2(self, client: Gitpod) -> None: configuration = response.parse() assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_validate_overload_2(self, client: Gitpod) -> None: with client.runners.configurations.with_streaming_response.validate( @@ -111,6 +119,7 @@ def test_streaming_response_validate_overload_2(self, client: Gitpod) -> None: class TestAsyncConfigurations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_validate_overload_1(self, async_client: AsyncGitpod) -> None: configuration = await async_client.runners.configurations.validate( @@ -118,6 +127,7 @@ async def test_method_validate_overload_1(self, async_client: AsyncGitpod) -> No ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_validate_with_all_params_overload_1(self, async_client: AsyncGitpod) -> None: configuration = await async_client.runners.configurations.validate( @@ -138,6 +148,7 @@ async def test_method_validate_with_all_params_overload_1(self, async_client: As ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_validate_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.with_raw_response.validate( @@ -149,6 +160,7 @@ async def test_raw_response_validate_overload_1(self, async_client: AsyncGitpod) configuration = await response.parse() assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_validate_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.with_streaming_response.validate( @@ -162,6 +174,7 @@ async def test_streaming_response_validate_overload_1(self, async_client: AsyncG assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_validate_overload_2(self, async_client: AsyncGitpod) -> None: configuration = await async_client.runners.configurations.validate( @@ -169,6 +182,7 @@ async def test_method_validate_overload_2(self, async_client: AsyncGitpod) -> No ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_validate_with_all_params_overload_2(self, async_client: AsyncGitpod) -> None: configuration = await async_client.runners.configurations.validate( @@ -177,6 +191,7 @@ async def test_method_validate_with_all_params_overload_2(self, async_client: As ) assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_validate_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.configurations.with_raw_response.validate( @@ -188,6 +203,7 @@ async def test_raw_response_validate_overload_2(self, async_client: AsyncGitpod) configuration = await response.parse() assert_matches_type(ConfigurationValidateResponse, configuration, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_validate_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.configurations.with_streaming_response.validate( diff --git a/tests/api_resources/runners/test_policies.py b/tests/api_resources/runners/test_policies.py index 11a2f95..bd75557 100644 --- a/tests/api_resources/runners/test_policies.py +++ b/tests/api_resources/runners/test_policies.py @@ -22,11 +22,13 @@ class TestPolicies: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: policy = client.runners.policies.create() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: policy = client.runners.policies.create( @@ -36,6 +38,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.runners.policies.with_raw_response.create() @@ -45,6 +48,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.runners.policies.with_streaming_response.create() as response: @@ -56,11 +60,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update(self, client: Gitpod) -> None: policy = client.runners.policies.update() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params(self, client: Gitpod) -> None: policy = client.runners.policies.update( @@ -70,6 +76,7 @@ def test_method_update_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update(self, client: Gitpod) -> None: response = client.runners.policies.with_raw_response.update() @@ -79,6 +86,7 @@ def test_raw_response_update(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update(self, client: Gitpod) -> None: with client.runners.policies.with_streaming_response.update() as response: @@ -90,11 +98,13 @@ def test_streaming_response_update(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: policy = client.runners.policies.list() assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: policy = client.runners.policies.list( @@ -108,6 +118,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.runners.policies.with_raw_response.list() @@ -117,6 +128,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(SyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.runners.policies.with_streaming_response.list() as response: @@ -128,11 +140,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: policy = client.runners.policies.delete() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: policy = client.runners.policies.delete( @@ -141,6 +155,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.runners.policies.with_raw_response.delete() @@ -150,6 +165,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: policy = response.parse() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.runners.policies.with_streaming_response.delete() as response: @@ -165,11 +181,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: class TestAsyncPolicies: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.create() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.create( @@ -179,6 +197,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.policies.with_raw_response.create() @@ -188,6 +207,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(PolicyCreateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.runners.policies.with_streaming_response.create() as response: @@ -199,11 +219,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.update() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.update( @@ -213,6 +235,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.policies.with_raw_response.update() @@ -222,6 +245,7 @@ async def test_raw_response_update(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(PolicyUpdateResponse, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update(self, async_client: AsyncGitpod) -> None: async with async_client.runners.policies.with_streaming_response.update() as response: @@ -233,11 +257,13 @@ async def test_streaming_response_update(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.list() assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.list( @@ -251,6 +277,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.policies.with_raw_response.list() @@ -260,6 +287,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(AsyncPoliciesPage[PolicyListResponse], policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.runners.policies.with_streaming_response.list() as response: @@ -271,11 +299,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.delete() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: policy = await async_client.runners.policies.delete( @@ -284,6 +314,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.policies.with_raw_response.delete() @@ -293,6 +324,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: policy = await response.parse() assert_matches_type(object, policy, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.runners.policies.with_streaming_response.delete() as response: diff --git a/tests/api_resources/test_accounts.py b/tests/api_resources/test_accounts.py index 93aa779..ab0d94f 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -22,6 +22,7 @@ class TestAccounts: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: account = client.accounts.retrieve( @@ -29,6 +30,7 @@ def test_method_retrieve(self, client: Gitpod) -> None: ) assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.accounts.with_raw_response.retrieve( @@ -40,6 +42,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: account = response.parse() assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.accounts.with_streaming_response.retrieve( @@ -53,11 +56,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: account = client.accounts.delete() assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: account = client.accounts.delete( @@ -65,6 +70,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.accounts.with_raw_response.delete() @@ -74,6 +80,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: account = response.parse() assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.accounts.with_streaming_response.delete() as response: @@ -85,6 +92,7 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get_sso_login_url(self, client: Gitpod) -> None: account = client.accounts.get_sso_login_url( @@ -92,6 +100,7 @@ def test_method_get_sso_login_url(self, client: Gitpod) -> None: ) assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_sso_login_url_with_all_params(self, client: Gitpod) -> None: account = client.accounts.get_sso_login_url( @@ -100,6 +109,7 @@ def test_method_get_sso_login_url_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_sso_login_url(self, client: Gitpod) -> None: response = client.accounts.with_raw_response.get_sso_login_url( @@ -111,6 +121,7 @@ def test_raw_response_get_sso_login_url(self, client: Gitpod) -> None: account = response.parse() assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_sso_login_url(self, client: Gitpod) -> None: with client.accounts.with_streaming_response.get_sso_login_url( @@ -124,11 +135,13 @@ def test_streaming_response_get_sso_login_url(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list_login_providers(self, client: Gitpod) -> None: account = client.accounts.list_login_providers() assert_matches_type(SyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_login_providers_with_all_params(self, client: Gitpod) -> None: account = client.accounts.list_login_providers( @@ -142,6 +155,7 @@ def test_method_list_login_providers_with_all_params(self, client: Gitpod) -> No ) assert_matches_type(SyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list_login_providers(self, client: Gitpod) -> None: response = client.accounts.with_raw_response.list_login_providers() @@ -151,6 +165,7 @@ def test_raw_response_list_login_providers(self, client: Gitpod) -> None: account = response.parse() assert_matches_type(SyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list_login_providers(self, client: Gitpod) -> None: with client.accounts.with_streaming_response.list_login_providers() as response: @@ -166,6 +181,7 @@ def test_streaming_response_list_login_providers(self, client: Gitpod) -> None: class TestAsyncAccounts: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.retrieve( @@ -173,6 +189,7 @@ async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: ) assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.accounts.with_raw_response.retrieve( @@ -184,6 +201,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: account = await response.parse() assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.accounts.with_streaming_response.retrieve( @@ -197,11 +215,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.delete() assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.delete( @@ -209,6 +229,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.accounts.with_raw_response.delete() @@ -218,6 +239,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: account = await response.parse() assert_matches_type(object, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.accounts.with_streaming_response.delete() as response: @@ -229,6 +251,7 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get_sso_login_url(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.get_sso_login_url( @@ -236,6 +259,7 @@ async def test_method_get_sso_login_url(self, async_client: AsyncGitpod) -> None ) assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_sso_login_url_with_all_params(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.get_sso_login_url( @@ -244,6 +268,7 @@ async def test_method_get_sso_login_url_with_all_params(self, async_client: Asyn ) assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_sso_login_url(self, async_client: AsyncGitpod) -> None: response = await async_client.accounts.with_raw_response.get_sso_login_url( @@ -255,6 +280,7 @@ async def test_raw_response_get_sso_login_url(self, async_client: AsyncGitpod) - account = await response.parse() assert_matches_type(AccountGetSSOLoginURLResponse, account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_sso_login_url(self, async_client: AsyncGitpod) -> None: async with async_client.accounts.with_streaming_response.get_sso_login_url( @@ -268,11 +294,13 @@ async def test_streaming_response_get_sso_login_url(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list_login_providers(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.list_login_providers() assert_matches_type(AsyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_login_providers_with_all_params(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.list_login_providers( @@ -286,6 +314,7 @@ async def test_method_list_login_providers_with_all_params(self, async_client: A ) assert_matches_type(AsyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list_login_providers(self, async_client: AsyncGitpod) -> None: response = await async_client.accounts.with_raw_response.list_login_providers() @@ -295,6 +324,7 @@ async def test_raw_response_list_login_providers(self, async_client: AsyncGitpod account = await response.parse() assert_matches_type(AsyncLoginProvidersPage[AccountListLoginProvidersResponse], account, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list_login_providers(self, async_client: AsyncGitpod) -> None: async with async_client.accounts.with_streaming_response.list_login_providers() as response: diff --git a/tests/api_resources/test_editors.py b/tests/api_resources/test_editors.py index 10f3a75..d3de302 100644 --- a/tests/api_resources/test_editors.py +++ b/tests/api_resources/test_editors.py @@ -22,11 +22,13 @@ class TestEditors: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: editor = client.editors.retrieve() assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: editor = client.editors.retrieve( @@ -34,6 +36,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.editors.with_raw_response.retrieve() @@ -43,6 +46,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: editor = response.parse() assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.editors.with_streaming_response.retrieve() as response: @@ -54,11 +58,13 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: editor = client.editors.list() assert_matches_type(SyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: editor = client.editors.list( @@ -71,6 +77,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.editors.with_raw_response.list() @@ -80,6 +87,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: editor = response.parse() assert_matches_type(SyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.editors.with_streaming_response.list() as response: @@ -91,11 +99,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_resolve_url(self, client: Gitpod) -> None: editor = client.editors.resolve_url() assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_resolve_url_with_all_params(self, client: Gitpod) -> None: editor = client.editors.resolve_url( @@ -105,6 +115,7 @@ def test_method_resolve_url_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_resolve_url(self, client: Gitpod) -> None: response = client.editors.with_raw_response.resolve_url() @@ -114,6 +125,7 @@ def test_raw_response_resolve_url(self, client: Gitpod) -> None: editor = response.parse() assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_resolve_url(self, client: Gitpod) -> None: with client.editors.with_streaming_response.resolve_url() as response: @@ -129,11 +141,13 @@ def test_streaming_response_resolve_url(self, client: Gitpod) -> None: class TestAsyncEditors: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.retrieve() assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.retrieve( @@ -141,6 +155,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.editors.with_raw_response.retrieve() @@ -150,6 +165,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: editor = await response.parse() assert_matches_type(EditorRetrieveResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.editors.with_streaming_response.retrieve() as response: @@ -161,11 +177,13 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.list() assert_matches_type(AsyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.list( @@ -178,6 +196,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.editors.with_raw_response.list() @@ -187,6 +206,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: editor = await response.parse() assert_matches_type(AsyncEditorsPage[EditorListResponse], editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.editors.with_streaming_response.list() as response: @@ -198,11 +218,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_resolve_url(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.resolve_url() assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_resolve_url_with_all_params(self, async_client: AsyncGitpod) -> None: editor = await async_client.editors.resolve_url( @@ -212,6 +234,7 @@ async def test_method_resolve_url_with_all_params(self, async_client: AsyncGitpo ) assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_resolve_url(self, async_client: AsyncGitpod) -> None: response = await async_client.editors.with_raw_response.resolve_url() @@ -221,6 +244,7 @@ async def test_raw_response_resolve_url(self, async_client: AsyncGitpod) -> None editor = await response.parse() assert_matches_type(EditorResolveURLResponse, editor, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_resolve_url(self, async_client: AsyncGitpod) -> None: async with async_client.editors.with_streaming_response.resolve_url() as response: diff --git a/tests/api_resources/test_environments.py b/tests/api_resources/test_environments.py index 6008798..08dc463 100644 --- a/tests/api_resources/test_environments.py +++ b/tests/api_resources/test_environments.py @@ -25,11 +25,13 @@ class TestEnvironments: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: environment = client.environments.create() assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: environment = client.environments.create( @@ -82,6 +84,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.environments.with_raw_response.create() @@ -91,6 +94,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.environments.with_streaming_response.create() as response: @@ -102,11 +106,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: environment = client.environments.retrieve() assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: environment = client.environments.retrieve( @@ -114,6 +120,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.environments.with_raw_response.retrieve() @@ -123,6 +130,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.environments.with_streaming_response.retrieve() as response: @@ -134,6 +142,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: environment = client.environments.update( @@ -141,6 +150,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.environments.with_raw_response.update( @@ -152,6 +162,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.environments.with_streaming_response.update( @@ -165,6 +176,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: environment = client.environments.update( @@ -172,6 +184,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.environments.with_raw_response.update( @@ -183,6 +196,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.environments.with_streaming_response.update( @@ -196,11 +210,13 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: environment = client.environments.list() assert_matches_type(SyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: environment = client.environments.list( @@ -221,6 +237,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.environments.with_raw_response.list() @@ -230,6 +247,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(SyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.environments.with_streaming_response.list() as response: @@ -241,11 +259,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: environment = client.environments.delete() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: environment = client.environments.delete( @@ -254,6 +274,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.environments.with_raw_response.delete() @@ -263,6 +284,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.environments.with_streaming_response.delete() as response: @@ -274,11 +296,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_from_project(self, client: Gitpod) -> None: environment = client.environments.create_from_project() assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_from_project_with_all_params(self, client: Gitpod) -> None: environment = client.environments.create_from_project( @@ -332,6 +356,7 @@ def test_method_create_from_project_with_all_params(self, client: Gitpod) -> Non ) assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_from_project(self, client: Gitpod) -> None: response = client.environments.with_raw_response.create_from_project() @@ -341,6 +366,7 @@ def test_raw_response_create_from_project(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_from_project(self, client: Gitpod) -> None: with client.environments.with_streaming_response.create_from_project() as response: @@ -352,11 +378,13 @@ def test_streaming_response_create_from_project(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_logs_token(self, client: Gitpod) -> None: environment = client.environments.create_logs_token() assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_logs_token_with_all_params(self, client: Gitpod) -> None: environment = client.environments.create_logs_token( @@ -364,6 +392,7 @@ def test_method_create_logs_token_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_logs_token(self, client: Gitpod) -> None: response = client.environments.with_raw_response.create_logs_token() @@ -373,6 +402,7 @@ def test_raw_response_create_logs_token(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_logs_token(self, client: Gitpod) -> None: with client.environments.with_streaming_response.create_logs_token() as response: @@ -384,11 +414,13 @@ def test_streaming_response_create_logs_token(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_mark_active(self, client: Gitpod) -> None: environment = client.environments.mark_active() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_mark_active_with_all_params(self, client: Gitpod) -> None: environment = client.environments.mark_active( @@ -400,6 +432,7 @@ def test_method_mark_active_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_mark_active(self, client: Gitpod) -> None: response = client.environments.with_raw_response.mark_active() @@ -409,6 +442,7 @@ def test_raw_response_mark_active(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_mark_active(self, client: Gitpod) -> None: with client.environments.with_streaming_response.mark_active() as response: @@ -420,11 +454,13 @@ def test_streaming_response_mark_active(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_start(self, client: Gitpod) -> None: environment = client.environments.start() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_start_with_all_params(self, client: Gitpod) -> None: environment = client.environments.start( @@ -432,6 +468,7 @@ def test_method_start_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_start(self, client: Gitpod) -> None: response = client.environments.with_raw_response.start() @@ -441,6 +478,7 @@ def test_raw_response_start(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_start(self, client: Gitpod) -> None: with client.environments.with_streaming_response.start() as response: @@ -452,11 +490,13 @@ def test_streaming_response_start(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_stop(self, client: Gitpod) -> None: environment = client.environments.stop() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_stop_with_all_params(self, client: Gitpod) -> None: environment = client.environments.stop( @@ -464,6 +504,7 @@ def test_method_stop_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_stop(self, client: Gitpod) -> None: response = client.environments.with_raw_response.stop() @@ -473,6 +514,7 @@ def test_raw_response_stop(self, client: Gitpod) -> None: environment = response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_stop(self, client: Gitpod) -> None: with client.environments.with_streaming_response.stop() as response: @@ -488,11 +530,13 @@ def test_streaming_response_stop(self, client: Gitpod) -> None: class TestAsyncEnvironments: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create() assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create( @@ -545,6 +589,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.create() @@ -554,6 +599,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(EnvironmentCreateResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.create() as response: @@ -565,11 +611,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.retrieve() assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.retrieve( @@ -577,6 +625,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.retrieve() @@ -586,6 +635,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(EnvironmentRetrieveResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.retrieve() as response: @@ -597,6 +647,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.update( @@ -604,6 +655,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.update( @@ -615,6 +667,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.update( @@ -628,6 +681,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.update( @@ -635,6 +689,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.update( @@ -646,6 +701,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.update( @@ -659,11 +715,13 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.list() assert_matches_type(AsyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.list( @@ -684,6 +742,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.list() @@ -693,6 +752,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(AsyncEnvironmentsPage[EnvironmentListResponse], environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.list() as response: @@ -704,11 +764,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.delete() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.delete( @@ -717,6 +779,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.delete() @@ -726,6 +789,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.delete() as response: @@ -737,11 +801,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_from_project(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create_from_project() assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_from_project_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create_from_project( @@ -795,6 +861,7 @@ async def test_method_create_from_project_with_all_params(self, async_client: As ) assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_from_project(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.create_from_project() @@ -804,6 +871,7 @@ async def test_raw_response_create_from_project(self, async_client: AsyncGitpod) environment = await response.parse() assert_matches_type(EnvironmentCreateFromProjectResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_from_project(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.create_from_project() as response: @@ -815,11 +883,13 @@ async def test_streaming_response_create_from_project(self, async_client: AsyncG assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_logs_token(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create_logs_token() assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_logs_token_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.create_logs_token( @@ -827,6 +897,7 @@ async def test_method_create_logs_token_with_all_params(self, async_client: Asyn ) assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_logs_token(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.create_logs_token() @@ -836,6 +907,7 @@ async def test_raw_response_create_logs_token(self, async_client: AsyncGitpod) - environment = await response.parse() assert_matches_type(EnvironmentCreateLogsTokenResponse, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_logs_token(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.create_logs_token() as response: @@ -847,11 +919,13 @@ async def test_streaming_response_create_logs_token(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_mark_active(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.mark_active() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_mark_active_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.mark_active( @@ -863,6 +937,7 @@ async def test_method_mark_active_with_all_params(self, async_client: AsyncGitpo ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_mark_active(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.mark_active() @@ -872,6 +947,7 @@ async def test_raw_response_mark_active(self, async_client: AsyncGitpod) -> None environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_mark_active(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.mark_active() as response: @@ -883,11 +959,13 @@ async def test_streaming_response_mark_active(self, async_client: AsyncGitpod) - assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_start(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.start() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.start( @@ -895,6 +973,7 @@ async def test_method_start_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.start() @@ -904,6 +983,7 @@ async def test_raw_response_start(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_start(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.start() as response: @@ -915,11 +995,13 @@ async def test_streaming_response_start(self, async_client: AsyncGitpod) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_stop(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.stop() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> None: environment = await async_client.environments.stop( @@ -927,6 +1009,7 @@ async def test_method_stop_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: response = await async_client.environments.with_raw_response.stop() @@ -936,6 +1019,7 @@ async def test_raw_response_stop(self, async_client: AsyncGitpod) -> None: environment = await response.parse() assert_matches_type(object, environment, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_stop(self, async_client: AsyncGitpod) -> None: async with async_client.environments.with_streaming_response.stop() as response: diff --git a/tests/api_resources/test_events.py b/tests/api_resources/test_events.py index 975597b..b3fdfdd 100644 --- a/tests/api_resources/test_events.py +++ b/tests/api_resources/test_events.py @@ -19,11 +19,13 @@ class TestEvents: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: event = client.events.list() assert_matches_type(SyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: event = client.events.list( @@ -42,6 +44,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.events.with_raw_response.list() @@ -51,6 +54,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: event = response.parse() assert_matches_type(SyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.events.with_streaming_response.list() as response: @@ -134,11 +138,13 @@ def test_streaming_response_watch_overload_2(self, client: Gitpod) -> None: class TestAsyncEvents: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: event = await async_client.events.list() assert_matches_type(AsyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: event = await async_client.events.list( @@ -157,6 +163,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.events.with_raw_response.list() @@ -166,6 +173,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: event = await response.parse() assert_matches_type(AsyncEntriesPage[EventListResponse], event, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.events.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_groups.py b/tests/api_resources/test_groups.py index bf2e4b1..2d4abe9 100644 --- a/tests/api_resources/test_groups.py +++ b/tests/api_resources/test_groups.py @@ -18,11 +18,13 @@ class TestGroups: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: group = client.groups.list() assert_matches_type(SyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: group = client.groups.list( @@ -35,6 +37,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.groups.with_raw_response.list() @@ -44,6 +47,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: group = response.parse() assert_matches_type(SyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.groups.with_streaming_response.list() as response: @@ -59,11 +63,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: class TestAsyncGroups: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: group = await async_client.groups.list() assert_matches_type(AsyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: group = await async_client.groups.list( @@ -76,6 +82,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.groups.with_raw_response.list() @@ -85,6 +92,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: group = await response.parse() assert_matches_type(AsyncGroupsPage[GroupListResponse], group, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.groups.with_streaming_response.list() as response: diff --git a/tests/api_resources/test_identity.py b/tests/api_resources/test_identity.py index bdd08d3..e5021da 100644 --- a/tests/api_resources/test_identity.py +++ b/tests/api_resources/test_identity.py @@ -21,11 +21,13 @@ class TestIdentity: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_exchange_token(self, client: Gitpod) -> None: identity = client.identity.exchange_token() assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_exchange_token_with_all_params(self, client: Gitpod) -> None: identity = client.identity.exchange_token( @@ -33,6 +35,7 @@ def test_method_exchange_token_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_exchange_token(self, client: Gitpod) -> None: response = client.identity.with_raw_response.exchange_token() @@ -42,6 +45,7 @@ def test_raw_response_exchange_token(self, client: Gitpod) -> None: identity = response.parse() assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_exchange_token(self, client: Gitpod) -> None: with client.identity.with_streaming_response.exchange_token() as response: @@ -53,6 +57,7 @@ def test_streaming_response_exchange_token(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get_authenticated_identity(self, client: Gitpod) -> None: identity = client.identity.get_authenticated_identity( @@ -60,6 +65,7 @@ def test_method_get_authenticated_identity(self, client: Gitpod) -> None: ) assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_authenticated_identity(self, client: Gitpod) -> None: response = client.identity.with_raw_response.get_authenticated_identity( @@ -71,6 +77,7 @@ def test_raw_response_get_authenticated_identity(self, client: Gitpod) -> None: identity = response.parse() assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_authenticated_identity(self, client: Gitpod) -> None: with client.identity.with_streaming_response.get_authenticated_identity( @@ -84,11 +91,13 @@ def test_streaming_response_get_authenticated_identity(self, client: Gitpod) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get_id_token(self, client: Gitpod) -> None: identity = client.identity.get_id_token() assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_id_token_with_all_params(self, client: Gitpod) -> None: identity = client.identity.get_id_token( @@ -96,6 +105,7 @@ def test_method_get_id_token_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_id_token(self, client: Gitpod) -> None: response = client.identity.with_raw_response.get_id_token() @@ -105,6 +115,7 @@ def test_raw_response_get_id_token(self, client: Gitpod) -> None: identity = response.parse() assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_id_token(self, client: Gitpod) -> None: with client.identity.with_streaming_response.get_id_token() as response: @@ -120,11 +131,13 @@ def test_streaming_response_get_id_token(self, client: Gitpod) -> None: class TestAsyncIdentity: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_exchange_token(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.exchange_token() assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_exchange_token_with_all_params(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.exchange_token( @@ -132,6 +145,7 @@ async def test_method_exchange_token_with_all_params(self, async_client: AsyncGi ) assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_exchange_token(self, async_client: AsyncGitpod) -> None: response = await async_client.identity.with_raw_response.exchange_token() @@ -141,6 +155,7 @@ async def test_raw_response_exchange_token(self, async_client: AsyncGitpod) -> N identity = await response.parse() assert_matches_type(IdentityExchangeTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_exchange_token(self, async_client: AsyncGitpod) -> None: async with async_client.identity.with_streaming_response.exchange_token() as response: @@ -152,6 +167,7 @@ async def test_streaming_response_exchange_token(self, async_client: AsyncGitpod assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get_authenticated_identity(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.get_authenticated_identity( @@ -159,6 +175,7 @@ async def test_method_get_authenticated_identity(self, async_client: AsyncGitpod ) assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_authenticated_identity(self, async_client: AsyncGitpod) -> None: response = await async_client.identity.with_raw_response.get_authenticated_identity( @@ -170,6 +187,7 @@ async def test_raw_response_get_authenticated_identity(self, async_client: Async identity = await response.parse() assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_authenticated_identity(self, async_client: AsyncGitpod) -> None: async with async_client.identity.with_streaming_response.get_authenticated_identity( @@ -183,11 +201,13 @@ async def test_streaming_response_get_authenticated_identity(self, async_client: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get_id_token(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.get_id_token() assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_id_token_with_all_params(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.get_id_token( @@ -195,6 +215,7 @@ async def test_method_get_id_token_with_all_params(self, async_client: AsyncGitp ) assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_id_token(self, async_client: AsyncGitpod) -> None: response = await async_client.identity.with_raw_response.get_id_token() @@ -204,6 +225,7 @@ async def test_raw_response_get_id_token(self, async_client: AsyncGitpod) -> Non identity = await response.parse() assert_matches_type(IdentityGetIDTokenResponse, identity, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_id_token(self, async_client: AsyncGitpod) -> None: async with async_client.identity.with_streaming_response.get_id_token() as response: diff --git a/tests/api_resources/test_organizations.py b/tests/api_resources/test_organizations.py index 3a01747..1c0c5af 100644 --- a/tests/api_resources/test_organizations.py +++ b/tests/api_resources/test_organizations.py @@ -25,11 +25,13 @@ class TestOrganizations: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: organization = client.organizations.create() assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.create() @@ -48,6 +51,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.create() as response: @@ -59,11 +63,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: organization = client.organizations.retrieve() assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.retrieve( @@ -71,6 +77,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.retrieve() @@ -80,6 +87,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.retrieve() as response: @@ -91,6 +99,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: organization = client.organizations.update( @@ -98,6 +107,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_1(self, client: Gitpod) -> None: organization = client.organizations.update( @@ -105,6 +115,7 @@ def test_method_update_with_all_params_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.update( @@ -116,6 +127,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.update( @@ -129,6 +141,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: organization = client.organizations.update( @@ -136,6 +149,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.update( @@ -147,6 +161,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.update( @@ -160,11 +175,13 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: organization = client.organizations.list() assert_matches_type(SyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.list( @@ -178,6 +195,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.list() @@ -187,6 +205,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(SyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.list() as response: @@ -198,11 +217,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: organization = client.organizations.delete() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.delete( @@ -210,6 +231,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.delete() @@ -219,6 +241,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.delete() as response: @@ -230,6 +253,7 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_join_overload_1(self, client: Gitpod) -> None: organization = client.organizations.join( @@ -237,6 +261,7 @@ def test_method_join_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_join_overload_1(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.join( @@ -248,6 +273,7 @@ def test_raw_response_join_overload_1(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_join_overload_1(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.join( @@ -261,6 +287,7 @@ def test_streaming_response_join_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_join_overload_2(self, client: Gitpod) -> None: organization = client.organizations.join( @@ -268,6 +295,7 @@ def test_method_join_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_join_overload_2(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.join( @@ -279,6 +307,7 @@ def test_raw_response_join_overload_2(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_join_overload_2(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.join( @@ -292,11 +321,13 @@ def test_streaming_response_join_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_leave(self, client: Gitpod) -> None: organization = client.organizations.leave() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_leave_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.leave( @@ -304,6 +335,7 @@ def test_method_leave_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_leave(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.leave() @@ -313,6 +345,7 @@ def test_raw_response_leave(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_leave(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.leave() as response: @@ -324,11 +357,13 @@ def test_streaming_response_leave(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list_members(self, client: Gitpod) -> None: organization = client.organizations.list_members() assert_matches_type(SyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_members_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.list_members( @@ -342,6 +377,7 @@ def test_method_list_members_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list_members(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.list_members() @@ -351,6 +387,7 @@ def test_raw_response_list_members(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(SyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list_members(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.list_members() as response: @@ -362,11 +399,13 @@ def test_streaming_response_list_members(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_set_role(self, client: Gitpod) -> None: organization = client.organizations.set_role() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_set_role_with_all_params(self, client: Gitpod) -> None: organization = client.organizations.set_role( @@ -376,6 +415,7 @@ def test_method_set_role_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_set_role(self, client: Gitpod) -> None: response = client.organizations.with_raw_response.set_role() @@ -385,6 +425,7 @@ def test_raw_response_set_role(self, client: Gitpod) -> None: organization = response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_set_role(self, client: Gitpod) -> None: with client.organizations.with_streaming_response.set_role() as response: @@ -400,11 +441,13 @@ def test_streaming_response_set_role(self, client: Gitpod) -> None: class TestAsyncOrganizations: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.create() assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.create( @@ -414,6 +457,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.create() @@ -423,6 +467,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(OrganizationCreateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.create() as response: @@ -434,11 +479,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.retrieve() assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.retrieve( @@ -446,6 +493,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.retrieve() @@ -455,6 +503,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(OrganizationRetrieveResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.retrieve() as response: @@ -466,6 +515,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.update( @@ -473,6 +523,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_1(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.update( @@ -480,6 +531,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.update( @@ -491,6 +543,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - organization = await response.parse() assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.update( @@ -504,6 +557,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.update( @@ -511,6 +565,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.update( @@ -522,6 +577,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - organization = await response.parse() assert_matches_type(OrganizationUpdateResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.update( @@ -535,11 +591,13 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.list() assert_matches_type(AsyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.list( @@ -553,6 +611,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.list() @@ -562,6 +621,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(AsyncOrganizationsPage[OrganizationListResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.list() as response: @@ -573,11 +633,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.delete() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.delete( @@ -585,6 +647,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.delete() @@ -594,6 +657,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.delete() as response: @@ -605,6 +669,7 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_join_overload_1(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.join( @@ -612,6 +677,7 @@ async def test_method_join_overload_1(self, async_client: AsyncGitpod) -> None: ) assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_join_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.join( @@ -623,6 +689,7 @@ async def test_raw_response_join_overload_1(self, async_client: AsyncGitpod) -> organization = await response.parse() assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_join_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.join( @@ -636,6 +703,7 @@ async def test_streaming_response_join_overload_1(self, async_client: AsyncGitpo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_join_overload_2(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.join( @@ -643,6 +711,7 @@ async def test_method_join_overload_2(self, async_client: AsyncGitpod) -> None: ) assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_join_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.join( @@ -654,6 +723,7 @@ async def test_raw_response_join_overload_2(self, async_client: AsyncGitpod) -> organization = await response.parse() assert_matches_type(OrganizationJoinResponse, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_join_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.join( @@ -667,11 +737,13 @@ async def test_streaming_response_join_overload_2(self, async_client: AsyncGitpo assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_leave(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.leave() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_leave_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.leave( @@ -679,6 +751,7 @@ async def test_method_leave_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_leave(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.leave() @@ -688,6 +761,7 @@ async def test_raw_response_leave(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_leave(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.leave() as response: @@ -699,11 +773,13 @@ async def test_streaming_response_leave(self, async_client: AsyncGitpod) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list_members(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.list_members() assert_matches_type(AsyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_members_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.list_members( @@ -717,6 +793,7 @@ async def test_method_list_members_with_all_params(self, async_client: AsyncGitp ) assert_matches_type(AsyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list_members(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.list_members() @@ -726,6 +803,7 @@ async def test_raw_response_list_members(self, async_client: AsyncGitpod) -> Non organization = await response.parse() assert_matches_type(AsyncMembersPage[OrganizationListMembersResponse], organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list_members(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.list_members() as response: @@ -737,11 +815,13 @@ async def test_streaming_response_list_members(self, async_client: AsyncGitpod) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_set_role(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.set_role() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_set_role_with_all_params(self, async_client: AsyncGitpod) -> None: organization = await async_client.organizations.set_role( @@ -751,6 +831,7 @@ async def test_method_set_role_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_set_role(self, async_client: AsyncGitpod) -> None: response = await async_client.organizations.with_raw_response.set_role() @@ -760,6 +841,7 @@ async def test_raw_response_set_role(self, async_client: AsyncGitpod) -> None: organization = await response.parse() assert_matches_type(object, organization, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_set_role(self, async_client: AsyncGitpod) -> None: async with async_client.organizations.with_streaming_response.set_role() as response: diff --git a/tests/api_resources/test_projects.py b/tests/api_resources/test_projects.py index ea12d99..754f439 100644 --- a/tests/api_resources/test_projects.py +++ b/tests/api_resources/test_projects.py @@ -24,6 +24,7 @@ class TestProjects: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: project = client.projects.create( @@ -32,6 +33,7 @@ def test_method_create(self, client: Gitpod) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: project = client.projects.create( @@ -43,6 +45,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.projects.with_raw_response.create( @@ -55,6 +58,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.projects.with_streaming_response.create( @@ -69,11 +73,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: project = client.projects.retrieve() assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: project = client.projects.retrieve( @@ -81,6 +87,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.projects.with_raw_response.retrieve() @@ -90,6 +97,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.projects.with_streaming_response.retrieve() as response: @@ -101,6 +109,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: project = client.projects.update( @@ -108,6 +117,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.projects.with_raw_response.update( @@ -119,6 +129,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.projects.with_streaming_response.update( @@ -132,6 +143,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: project = client.projects.update( @@ -139,6 +151,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.projects.with_raw_response.update( @@ -150,6 +163,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.projects.with_streaming_response.update( @@ -163,6 +177,7 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_3(self, client: Gitpod) -> None: project = client.projects.update( @@ -170,6 +185,7 @@ def test_method_update_overload_3(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_3(self, client: Gitpod) -> None: response = client.projects.with_raw_response.update( @@ -181,6 +197,7 @@ def test_raw_response_update_overload_3(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: with client.projects.with_streaming_response.update( @@ -194,6 +211,7 @@ def test_streaming_response_update_overload_3(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_4(self, client: Gitpod) -> None: project = client.projects.update( @@ -201,6 +219,7 @@ def test_method_update_overload_4(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_with_all_params_overload_4(self, client: Gitpod) -> None: project = client.projects.update( @@ -208,6 +227,7 @@ def test_method_update_with_all_params_overload_4(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_4(self, client: Gitpod) -> None: response = client.projects.with_raw_response.update( @@ -219,6 +239,7 @@ def test_raw_response_update_overload_4(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_4(self, client: Gitpod) -> None: with client.projects.with_streaming_response.update( @@ -232,6 +253,7 @@ def test_streaming_response_update_overload_4(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_5(self, client: Gitpod) -> None: project = client.projects.update( @@ -239,6 +261,7 @@ def test_method_update_overload_5(self, client: Gitpod) -> None: ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_5(self, client: Gitpod) -> None: response = client.projects.with_raw_response.update( @@ -250,6 +273,7 @@ def test_raw_response_update_overload_5(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_5(self, client: Gitpod) -> None: with client.projects.with_streaming_response.update( @@ -263,11 +287,13 @@ def test_streaming_response_update_overload_5(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: project = client.projects.list() assert_matches_type(SyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: project = client.projects.list( @@ -280,6 +306,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.projects.with_raw_response.list() @@ -289,6 +316,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(SyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.projects.with_streaming_response.list() as response: @@ -300,11 +328,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: project = client.projects.delete() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: project = client.projects.delete( @@ -312,6 +342,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.projects.with_raw_response.delete() @@ -321,6 +352,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.projects.with_streaming_response.delete() as response: @@ -332,11 +364,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_from_environment(self, client: Gitpod) -> None: project = client.projects.create_from_environment() assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_from_environment_with_all_params(self, client: Gitpod) -> None: project = client.projects.create_from_environment( @@ -345,6 +379,7 @@ def test_method_create_from_environment_with_all_params(self, client: Gitpod) -> ) assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_from_environment(self, client: Gitpod) -> None: response = client.projects.with_raw_response.create_from_environment() @@ -354,6 +389,7 @@ def test_raw_response_create_from_environment(self, client: Gitpod) -> None: project = response.parse() assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_from_environment(self, client: Gitpod) -> None: with client.projects.with_streaming_response.create_from_environment() as response: @@ -369,6 +405,7 @@ def test_streaming_response_create_from_environment(self, client: Gitpod) -> Non class TestAsyncProjects: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.create( @@ -377,6 +414,7 @@ async def test_method_create(self, async_client: AsyncGitpod) -> None: ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.create( @@ -388,6 +426,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.create( @@ -400,6 +439,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: project = await response.parse() assert_matches_type(ProjectCreateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.create( @@ -414,11 +454,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.retrieve() assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.retrieve( @@ -426,6 +468,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.retrieve() @@ -435,6 +478,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: project = await response.parse() assert_matches_type(ProjectRetrieveResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.retrieve() as response: @@ -446,6 +490,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -453,6 +498,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.update( @@ -464,6 +510,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - project = await response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.update( @@ -477,6 +524,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -484,6 +532,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.update( @@ -495,6 +544,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - project = await response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.update( @@ -508,6 +558,7 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -515,6 +566,7 @@ async def test_method_update_overload_3(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.update( @@ -526,6 +578,7 @@ async def test_raw_response_update_overload_3(self, async_client: AsyncGitpod) - project = await response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_3(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.update( @@ -539,6 +592,7 @@ async def test_streaming_response_update_overload_3(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_4(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -546,6 +600,7 @@ async def test_method_update_overload_4(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_with_all_params_overload_4(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -553,6 +608,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_4(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.update( @@ -564,6 +620,7 @@ async def test_raw_response_update_overload_4(self, async_client: AsyncGitpod) - project = await response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_4(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.update( @@ -577,6 +634,7 @@ async def test_streaming_response_update_overload_4(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_5(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.update( @@ -584,6 +642,7 @@ async def test_method_update_overload_5(self, async_client: AsyncGitpod) -> None ) assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_5(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.update( @@ -595,6 +654,7 @@ async def test_raw_response_update_overload_5(self, async_client: AsyncGitpod) - project = await response.parse() assert_matches_type(ProjectUpdateResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_5(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.update( @@ -608,11 +668,13 @@ async def test_streaming_response_update_overload_5(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.list() assert_matches_type(AsyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.list( @@ -625,6 +687,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.list() @@ -634,6 +697,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: project = await response.parse() assert_matches_type(AsyncProjectsPage[ProjectListResponse], project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.list() as response: @@ -645,11 +709,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.delete() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.delete( @@ -657,6 +723,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.delete() @@ -666,6 +733,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: project = await response.parse() assert_matches_type(object, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.delete() as response: @@ -677,11 +745,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_from_environment(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.create_from_environment() assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_from_environment_with_all_params(self, async_client: AsyncGitpod) -> None: project = await async_client.projects.create_from_environment( @@ -690,6 +760,7 @@ async def test_method_create_from_environment_with_all_params(self, async_client ) assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_from_environment(self, async_client: AsyncGitpod) -> None: response = await async_client.projects.with_raw_response.create_from_environment() @@ -699,6 +770,7 @@ async def test_raw_response_create_from_environment(self, async_client: AsyncGit project = await response.parse() assert_matches_type(ProjectCreateFromEnvironmentResponse, project, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_from_environment(self, async_client: AsyncGitpod) -> None: async with async_client.projects.with_streaming_response.create_from_environment() as response: diff --git a/tests/api_resources/test_runners.py b/tests/api_resources/test_runners.py index cf3bc97..6c510f2 100644 --- a/tests/api_resources/test_runners.py +++ b/tests/api_resources/test_runners.py @@ -25,11 +25,13 @@ class TestRunners: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create(self, client: Gitpod) -> None: runner = client.runners.create() assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params(self, client: Gitpod) -> None: runner = client.runners.create( @@ -47,6 +49,7 @@ def test_method_create_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create(self, client: Gitpod) -> None: response = client.runners.with_raw_response.create() @@ -56,6 +59,7 @@ def test_raw_response_create(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create(self, client: Gitpod) -> None: with client.runners.with_streaming_response.create() as response: @@ -67,11 +71,13 @@ def test_streaming_response_create(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_retrieve(self, client: Gitpod) -> None: runner = client.runners.retrieve() assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: runner = client.runners.retrieve( @@ -79,6 +85,7 @@ def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_retrieve(self, client: Gitpod) -> None: response = client.runners.with_raw_response.retrieve() @@ -88,6 +95,7 @@ def test_raw_response_retrieve(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_retrieve(self, client: Gitpod) -> None: with client.runners.with_streaming_response.retrieve() as response: @@ -99,6 +107,7 @@ def test_streaming_response_retrieve(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_1(self, client: Gitpod) -> None: runner = client.runners.update( @@ -106,6 +115,7 @@ def test_method_update_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_1(self, client: Gitpod) -> None: response = client.runners.with_raw_response.update( @@ -117,6 +127,7 @@ def test_raw_response_update_overload_1(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: with client.runners.with_streaming_response.update( @@ -130,6 +141,7 @@ def test_streaming_response_update_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_overload_2(self, client: Gitpod) -> None: runner = client.runners.update( @@ -137,6 +149,7 @@ def test_method_update_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_overload_2(self, client: Gitpod) -> None: response = client.runners.with_raw_response.update( @@ -148,6 +161,7 @@ def test_raw_response_update_overload_2(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: with client.runners.with_streaming_response.update( @@ -161,11 +175,13 @@ def test_streaming_response_update_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: runner = client.runners.list() assert_matches_type(SyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: runner = client.runners.list( @@ -183,6 +199,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.runners.with_raw_response.list() @@ -192,6 +209,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(SyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.runners.with_streaming_response.list() as response: @@ -203,11 +221,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: runner = client.runners.delete() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: runner = client.runners.delete( @@ -216,6 +236,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.runners.with_raw_response.delete() @@ -225,6 +246,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.runners.with_streaming_response.delete() as response: @@ -236,11 +258,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_check_authentication_for_host(self, client: Gitpod) -> None: runner = client.runners.check_authentication_for_host() assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_check_authentication_for_host_with_all_params(self, client: Gitpod) -> None: runner = client.runners.check_authentication_for_host( @@ -249,6 +273,7 @@ def test_method_check_authentication_for_host_with_all_params(self, client: Gitp ) assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_check_authentication_for_host(self, client: Gitpod) -> None: response = client.runners.with_raw_response.check_authentication_for_host() @@ -258,6 +283,7 @@ def test_raw_response_check_authentication_for_host(self, client: Gitpod) -> Non runner = response.parse() assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_check_authentication_for_host(self, client: Gitpod) -> None: with client.runners.with_streaming_response.check_authentication_for_host() as response: @@ -269,11 +295,13 @@ def test_streaming_response_check_authentication_for_host(self, client: Gitpod) assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_runner_token(self, client: Gitpod) -> None: runner = client.runners.create_runner_token() assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_runner_token_with_all_params(self, client: Gitpod) -> None: runner = client.runners.create_runner_token( @@ -281,6 +309,7 @@ def test_method_create_runner_token_with_all_params(self, client: Gitpod) -> Non ) assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_runner_token(self, client: Gitpod) -> None: response = client.runners.with_raw_response.create_runner_token() @@ -290,6 +319,7 @@ def test_raw_response_create_runner_token(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_runner_token(self, client: Gitpod) -> None: with client.runners.with_streaming_response.create_runner_token() as response: @@ -301,11 +331,13 @@ def test_streaming_response_create_runner_token(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_parse_context_url(self, client: Gitpod) -> None: runner = client.runners.parse_context_url() assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_parse_context_url_with_all_params(self, client: Gitpod) -> None: runner = client.runners.parse_context_url( @@ -314,6 +346,7 @@ def test_method_parse_context_url_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_parse_context_url(self, client: Gitpod) -> None: response = client.runners.with_raw_response.parse_context_url() @@ -323,6 +356,7 @@ def test_raw_response_parse_context_url(self, client: Gitpod) -> None: runner = response.parse() assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_parse_context_url(self, client: Gitpod) -> None: with client.runners.with_streaming_response.parse_context_url() as response: @@ -338,11 +372,13 @@ def test_streaming_response_parse_context_url(self, client: Gitpod) -> None: class TestAsyncRunners: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.create() assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.create( @@ -360,6 +396,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.create() @@ -369,6 +406,7 @@ async def test_raw_response_create(self, async_client: AsyncGitpod) -> None: runner = await response.parse() assert_matches_type(RunnerCreateResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.create() as response: @@ -380,11 +418,13 @@ async def test_streaming_response_create(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_retrieve(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.retrieve() assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.retrieve( @@ -392,6 +432,7 @@ async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.retrieve() @@ -401,6 +442,7 @@ async def test_raw_response_retrieve(self, async_client: AsyncGitpod) -> None: runner = await response.parse() assert_matches_type(RunnerRetrieveResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.retrieve() as response: @@ -412,6 +454,7 @@ async def test_streaming_response_retrieve(self, async_client: AsyncGitpod) -> N assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.update( @@ -419,6 +462,7 @@ async def test_method_update_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.update( @@ -430,6 +474,7 @@ async def test_raw_response_update_overload_1(self, async_client: AsyncGitpod) - runner = await response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.update( @@ -443,6 +488,7 @@ async def test_streaming_response_update_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.update( @@ -450,6 +496,7 @@ async def test_method_update_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.update( @@ -461,6 +508,7 @@ async def test_raw_response_update_overload_2(self, async_client: AsyncGitpod) - runner = await response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.update( @@ -474,11 +522,13 @@ async def test_streaming_response_update_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.list() assert_matches_type(AsyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.list( @@ -496,6 +546,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.list() @@ -505,6 +556,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: runner = await response.parse() assert_matches_type(AsyncRunnersPage[RunnerListResponse], runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.list() as response: @@ -516,11 +568,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.delete() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.delete( @@ -529,6 +583,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.delete() @@ -538,6 +593,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: runner = await response.parse() assert_matches_type(object, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.delete() as response: @@ -549,11 +605,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_check_authentication_for_host(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.check_authentication_for_host() assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_check_authentication_for_host_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.check_authentication_for_host( @@ -562,6 +620,7 @@ async def test_method_check_authentication_for_host_with_all_params(self, async_ ) assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_check_authentication_for_host(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.check_authentication_for_host() @@ -571,6 +630,7 @@ async def test_raw_response_check_authentication_for_host(self, async_client: As runner = await response.parse() assert_matches_type(RunnerCheckAuthenticationForHostResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_check_authentication_for_host(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.check_authentication_for_host() as response: @@ -582,11 +642,13 @@ async def test_streaming_response_check_authentication_for_host(self, async_clie assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_runner_token(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.create_runner_token() assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_runner_token_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.create_runner_token( @@ -594,6 +656,7 @@ async def test_method_create_runner_token_with_all_params(self, async_client: As ) assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_runner_token(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.create_runner_token() @@ -603,6 +666,7 @@ async def test_raw_response_create_runner_token(self, async_client: AsyncGitpod) runner = await response.parse() assert_matches_type(RunnerCreateRunnerTokenResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_runner_token(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.create_runner_token() as response: @@ -614,11 +678,13 @@ async def test_streaming_response_create_runner_token(self, async_client: AsyncG assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_parse_context_url(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.parse_context_url() assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_parse_context_url_with_all_params(self, async_client: AsyncGitpod) -> None: runner = await async_client.runners.parse_context_url( @@ -627,6 +693,7 @@ async def test_method_parse_context_url_with_all_params(self, async_client: Asyn ) assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_parse_context_url(self, async_client: AsyncGitpod) -> None: response = await async_client.runners.with_raw_response.parse_context_url() @@ -636,6 +703,7 @@ async def test_raw_response_parse_context_url(self, async_client: AsyncGitpod) - runner = await response.parse() assert_matches_type(RunnerParseContextURLResponse, runner, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_parse_context_url(self, async_client: AsyncGitpod) -> None: async with async_client.runners.with_streaming_response.parse_context_url() as response: diff --git a/tests/api_resources/test_secrets.py b/tests/api_resources/test_secrets.py index 2ffe816..07fd383 100644 --- a/tests/api_resources/test_secrets.py +++ b/tests/api_resources/test_secrets.py @@ -22,6 +22,7 @@ class TestSecrets: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_create_overload_1(self, client: Gitpod) -> None: secret = client.secrets.create( @@ -29,6 +30,7 @@ def test_method_create_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_1(self, client: Gitpod) -> None: secret = client.secrets.create( @@ -39,6 +41,7 @@ def test_method_create_with_all_params_overload_1(self, client: Gitpod) -> None: ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_1(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.create( @@ -50,6 +53,7 @@ def test_raw_response_create_overload_1(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_1(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.create( @@ -63,6 +67,7 @@ def test_streaming_response_create_overload_1(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_create_overload_2(self, client: Gitpod) -> None: secret = client.secrets.create( @@ -70,6 +75,7 @@ def test_method_create_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_create_with_all_params_overload_2(self, client: Gitpod) -> None: secret = client.secrets.create( @@ -80,6 +86,7 @@ def test_method_create_with_all_params_overload_2(self, client: Gitpod) -> None: ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_create_overload_2(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.create( @@ -91,6 +98,7 @@ def test_raw_response_create_overload_2(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_create_overload_2(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.create( @@ -104,11 +112,13 @@ def test_streaming_response_create_overload_2(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: secret = client.secrets.list() assert_matches_type(SyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: secret = client.secrets.list( @@ -122,6 +132,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.list() @@ -131,6 +142,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(SyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.list() as response: @@ -142,11 +154,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: secret = client.secrets.delete() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: secret = client.secrets.delete( @@ -154,6 +168,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.delete() @@ -163,6 +178,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.delete() as response: @@ -174,11 +190,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get_value(self, client: Gitpod) -> None: secret = client.secrets.get_value() assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_value_with_all_params(self, client: Gitpod) -> None: secret = client.secrets.get_value( @@ -186,6 +204,7 @@ def test_method_get_value_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_value(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.get_value() @@ -195,6 +214,7 @@ def test_raw_response_get_value(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_value(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.get_value() as response: @@ -206,11 +226,13 @@ def test_streaming_response_get_value(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_update_value(self, client: Gitpod) -> None: secret = client.secrets.update_value() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_update_value_with_all_params(self, client: Gitpod) -> None: secret = client.secrets.update_value( @@ -219,6 +241,7 @@ def test_method_update_value_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_update_value(self, client: Gitpod) -> None: response = client.secrets.with_raw_response.update_value() @@ -228,6 +251,7 @@ def test_raw_response_update_value(self, client: Gitpod) -> None: secret = response.parse() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_update_value(self, client: Gitpod) -> None: with client.secrets.with_streaming_response.update_value() as response: @@ -243,6 +267,7 @@ def test_streaming_response_update_value(self, client: Gitpod) -> None: class TestAsyncSecrets: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_create_overload_1(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.create( @@ -250,6 +275,7 @@ async def test_method_create_overload_1(self, async_client: AsyncGitpod) -> None ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_1(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.create( @@ -260,6 +286,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_1(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.create( @@ -271,6 +298,7 @@ async def test_raw_response_create_overload_1(self, async_client: AsyncGitpod) - secret = await response.parse() assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_1(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.create( @@ -284,6 +312,7 @@ async def test_streaming_response_create_overload_1(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_create_overload_2(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.create( @@ -291,6 +320,7 @@ async def test_method_create_overload_2(self, async_client: AsyncGitpod) -> None ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_create_with_all_params_overload_2(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.create( @@ -301,6 +331,7 @@ async def test_method_create_with_all_params_overload_2(self, async_client: Asyn ) assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_create_overload_2(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.create( @@ -312,6 +343,7 @@ async def test_raw_response_create_overload_2(self, async_client: AsyncGitpod) - secret = await response.parse() assert_matches_type(SecretCreateResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_create_overload_2(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.create( @@ -325,11 +357,13 @@ async def test_streaming_response_create_overload_2(self, async_client: AsyncGit assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.list() assert_matches_type(AsyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.list( @@ -343,6 +377,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.list() @@ -352,6 +387,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: secret = await response.parse() assert_matches_type(AsyncSecretsPage[SecretListResponse], secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.list() as response: @@ -363,11 +399,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.delete() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.delete( @@ -375,6 +413,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.delete() @@ -384,6 +423,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: secret = await response.parse() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.delete() as response: @@ -395,11 +435,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get_value(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.get_value() assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_value_with_all_params(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.get_value( @@ -407,6 +449,7 @@ async def test_method_get_value_with_all_params(self, async_client: AsyncGitpod) ) assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_value(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.get_value() @@ -416,6 +459,7 @@ async def test_raw_response_get_value(self, async_client: AsyncGitpod) -> None: secret = await response.parse() assert_matches_type(SecretGetValueResponse, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_value(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.get_value() as response: @@ -427,11 +471,13 @@ async def test_streaming_response_get_value(self, async_client: AsyncGitpod) -> assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_update_value(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.update_value() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_update_value_with_all_params(self, async_client: AsyncGitpod) -> None: secret = await async_client.secrets.update_value( @@ -440,6 +486,7 @@ async def test_method_update_value_with_all_params(self, async_client: AsyncGitp ) assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_update_value(self, async_client: AsyncGitpod) -> None: response = await async_client.secrets.with_raw_response.update_value() @@ -449,6 +496,7 @@ async def test_raw_response_update_value(self, async_client: AsyncGitpod) -> Non secret = await response.parse() assert_matches_type(object, secret, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_update_value(self, async_client: AsyncGitpod) -> None: async with async_client.secrets.with_streaming_response.update_value() as response: diff --git a/tests/api_resources/test_users.py b/tests/api_resources/test_users.py index a358d83..cd94f2b 100644 --- a/tests/api_resources/test_users.py +++ b/tests/api_resources/test_users.py @@ -17,6 +17,7 @@ class TestUsers: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_get_authenticated_user(self, client: Gitpod) -> None: user = client.users.get_authenticated_user( @@ -24,6 +25,7 @@ def test_method_get_authenticated_user(self, client: Gitpod) -> None: ) assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get_authenticated_user(self, client: Gitpod) -> None: response = client.users.with_raw_response.get_authenticated_user( @@ -35,6 +37,7 @@ def test_raw_response_get_authenticated_user(self, client: Gitpod) -> None: user = response.parse() assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get_authenticated_user(self, client: Gitpod) -> None: with client.users.with_streaming_response.get_authenticated_user( @@ -48,11 +51,13 @@ def test_streaming_response_get_authenticated_user(self, client: Gitpod) -> None assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_set_suspended(self, client: Gitpod) -> None: user = client.users.set_suspended() assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_set_suspended_with_all_params(self, client: Gitpod) -> None: user = client.users.set_suspended( @@ -61,6 +66,7 @@ def test_method_set_suspended_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_set_suspended(self, client: Gitpod) -> None: response = client.users.with_raw_response.set_suspended() @@ -70,6 +76,7 @@ def test_raw_response_set_suspended(self, client: Gitpod) -> None: user = response.parse() assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_set_suspended(self, client: Gitpod) -> None: with client.users.with_streaming_response.set_suspended() as response: @@ -85,6 +92,7 @@ def test_streaming_response_set_suspended(self, client: Gitpod) -> None: class TestAsyncUsers: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_get_authenticated_user(self, async_client: AsyncGitpod) -> None: user = await async_client.users.get_authenticated_user( @@ -92,6 +100,7 @@ async def test_method_get_authenticated_user(self, async_client: AsyncGitpod) -> ) assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get_authenticated_user(self, async_client: AsyncGitpod) -> None: response = await async_client.users.with_raw_response.get_authenticated_user( @@ -103,6 +112,7 @@ async def test_raw_response_get_authenticated_user(self, async_client: AsyncGitp user = await response.parse() assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get_authenticated_user(self, async_client: AsyncGitpod) -> None: async with async_client.users.with_streaming_response.get_authenticated_user( @@ -116,11 +126,13 @@ async def test_streaming_response_get_authenticated_user(self, async_client: Asy assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_set_suspended(self, async_client: AsyncGitpod) -> None: user = await async_client.users.set_suspended() assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_set_suspended_with_all_params(self, async_client: AsyncGitpod) -> None: user = await async_client.users.set_suspended( @@ -129,6 +141,7 @@ async def test_method_set_suspended_with_all_params(self, async_client: AsyncGit ) assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_set_suspended(self, async_client: AsyncGitpod) -> None: response = await async_client.users.with_raw_response.set_suspended() @@ -138,6 +151,7 @@ async def test_raw_response_set_suspended(self, async_client: AsyncGitpod) -> No user = await response.parse() assert_matches_type(object, user, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_set_suspended(self, async_client: AsyncGitpod) -> None: async with async_client.users.with_streaming_response.set_suspended() as response: diff --git a/tests/api_resources/users/test_pats.py b/tests/api_resources/users/test_pats.py index c0fa515..d20704e 100644 --- a/tests/api_resources/users/test_pats.py +++ b/tests/api_resources/users/test_pats.py @@ -18,11 +18,13 @@ class TestPats: parametrize = pytest.mark.parametrize("client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize def test_method_list(self, client: Gitpod) -> None: pat = client.users.pats.list() assert_matches_type(SyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_list_with_all_params(self, client: Gitpod) -> None: pat = client.users.pats.list( @@ -36,6 +38,7 @@ def test_method_list_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(SyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_list(self, client: Gitpod) -> None: response = client.users.pats.with_raw_response.list() @@ -45,6 +48,7 @@ def test_raw_response_list(self, client: Gitpod) -> None: pat = response.parse() assert_matches_type(SyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_list(self, client: Gitpod) -> None: with client.users.pats.with_streaming_response.list() as response: @@ -56,11 +60,13 @@ def test_streaming_response_list(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_delete(self, client: Gitpod) -> None: pat = client.users.pats.delete() assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_delete_with_all_params(self, client: Gitpod) -> None: pat = client.users.pats.delete( @@ -68,6 +74,7 @@ def test_method_delete_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_delete(self, client: Gitpod) -> None: response = client.users.pats.with_raw_response.delete() @@ -77,6 +84,7 @@ def test_raw_response_delete(self, client: Gitpod) -> None: pat = response.parse() assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_delete(self, client: Gitpod) -> None: with client.users.pats.with_streaming_response.delete() as response: @@ -88,11 +96,13 @@ def test_streaming_response_delete(self, client: Gitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize def test_method_get(self, client: Gitpod) -> None: pat = client.users.pats.get() assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_method_get_with_all_params(self, client: Gitpod) -> None: pat = client.users.pats.get( @@ -100,6 +110,7 @@ def test_method_get_with_all_params(self, client: Gitpod) -> None: ) assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_raw_response_get(self, client: Gitpod) -> None: response = client.users.pats.with_raw_response.get() @@ -109,6 +120,7 @@ def test_raw_response_get(self, client: Gitpod) -> None: pat = response.parse() assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize def test_streaming_response_get(self, client: Gitpod) -> None: with client.users.pats.with_streaming_response.get() as response: @@ -124,11 +136,13 @@ def test_streaming_response_get(self, client: Gitpod) -> None: class TestAsyncPats: parametrize = pytest.mark.parametrize("async_client", [False, True], indirect=True, ids=["loose", "strict"]) + @pytest.mark.skip() @parametrize async def test_method_list(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.list() assert_matches_type(AsyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.list( @@ -142,6 +156,7 @@ async def test_method_list_with_all_params(self, async_client: AsyncGitpod) -> N ) assert_matches_type(AsyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: response = await async_client.users.pats.with_raw_response.list() @@ -151,6 +166,7 @@ async def test_raw_response_list(self, async_client: AsyncGitpod) -> None: pat = await response.parse() assert_matches_type(AsyncPersonalAccessTokensPage[PatListResponse], pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: async with async_client.users.pats.with_streaming_response.list() as response: @@ -162,11 +178,13 @@ async def test_streaming_response_list(self, async_client: AsyncGitpod) -> None: assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_delete(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.delete() assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.delete( @@ -174,6 +192,7 @@ async def test_method_delete_with_all_params(self, async_client: AsyncGitpod) -> ) assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: response = await async_client.users.pats.with_raw_response.delete() @@ -183,6 +202,7 @@ async def test_raw_response_delete(self, async_client: AsyncGitpod) -> None: pat = await response.parse() assert_matches_type(object, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> None: async with async_client.users.pats.with_streaming_response.delete() as response: @@ -194,11 +214,13 @@ async def test_streaming_response_delete(self, async_client: AsyncGitpod) -> Non assert cast(Any, response.is_closed) is True + @pytest.mark.skip() @parametrize async def test_method_get(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.get() assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_method_get_with_all_params(self, async_client: AsyncGitpod) -> None: pat = await async_client.users.pats.get( @@ -206,6 +228,7 @@ async def test_method_get_with_all_params(self, async_client: AsyncGitpod) -> No ) assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_raw_response_get(self, async_client: AsyncGitpod) -> None: response = await async_client.users.pats.with_raw_response.get() @@ -215,6 +238,7 @@ async def test_raw_response_get(self, async_client: AsyncGitpod) -> None: pat = await response.parse() assert_matches_type(PatGetResponse, pat, path=["response"]) + @pytest.mark.skip() @parametrize async def test_streaming_response_get(self, async_client: AsyncGitpod) -> None: async with async_client.users.pats.with_streaming_response.get() as response: