diff --git a/.stats.yml b/.stats.yml index 54b5007f..a1528690 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 106 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-63491b1baa3dbc60caaec79becdece3854356b354909e4bb3f1ccaab80a6be20.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/gitpod%2Fgitpod-4e2df4ddd41d8f2552c00f0f93c8b655c7bfb039bd62e654dd7ace9cdd8f9a9f.yml diff --git a/src/gitpod/resources/accounts.py b/src/gitpod/resources/accounts.py index 5035b3a5..71a9da1e 100644 --- a/src/gitpod/resources/accounts.py +++ b/src/gitpod/resources/accounts.py @@ -55,7 +55,7 @@ def with_streaming_response(self) -> AccountsResourceWithStreamingResponse: def retrieve( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -77,7 +77,7 @@ def retrieve( """ return self._post( "/gitpod.v1.AccountService/GetAccount", - body=maybe_transform(body, account_retrieve_params.AccountRetrieveParams), + body=maybe_transform({"empty": empty}, account_retrieve_params.AccountRetrieveParams), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), @@ -243,7 +243,7 @@ def with_streaming_response(self) -> AsyncAccountsResourceWithStreamingResponse: async def retrieve( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -265,7 +265,7 @@ async def retrieve( """ return await self._post( "/gitpod.v1.AccountService/GetAccount", - body=await async_maybe_transform(body, account_retrieve_params.AccountRetrieveParams), + body=await async_maybe_transform({"empty": empty}, account_retrieve_params.AccountRetrieveParams), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), diff --git a/src/gitpod/resources/identity.py b/src/gitpod/resources/identity.py index 07b9632e..f5b4f0d5 100644 --- a/src/gitpod/resources/identity.py +++ b/src/gitpod/resources/identity.py @@ -91,7 +91,7 @@ def exchange_token( def get_authenticated_identity( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -114,7 +114,7 @@ def get_authenticated_identity( return self._post( "/gitpod.v1.IdentityService/GetAuthenticatedIdentity", body=maybe_transform( - body, identity_get_authenticated_identity_params.IdentityGetAuthenticatedIdentityParams + {"empty": empty}, identity_get_authenticated_identity_params.IdentityGetAuthenticatedIdentityParams ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout @@ -215,7 +215,7 @@ async def exchange_token( async def get_authenticated_identity( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -238,7 +238,7 @@ async def get_authenticated_identity( return await self._post( "/gitpod.v1.IdentityService/GetAuthenticatedIdentity", body=await async_maybe_transform( - body, identity_get_authenticated_identity_params.IdentityGetAuthenticatedIdentityParams + {"empty": empty}, identity_get_authenticated_identity_params.IdentityGetAuthenticatedIdentityParams ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout diff --git a/src/gitpod/resources/users/users.py b/src/gitpod/resources/users/users.py index e6f29697..f9294b70 100644 --- a/src/gitpod/resources/users/users.py +++ b/src/gitpod/resources/users/users.py @@ -59,7 +59,7 @@ def with_streaming_response(self) -> UsersResourceWithStreamingResponse: def get_authenticated_user( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -81,7 +81,7 @@ def get_authenticated_user( """ return self._post( "/gitpod.v1.UserService/GetAuthenticatedUser", - body=maybe_transform(body, user_get_authenticated_user_params.UserGetAuthenticatedUserParams), + body=maybe_transform({"empty": empty}, user_get_authenticated_user_params.UserGetAuthenticatedUserParams), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), @@ -155,7 +155,7 @@ def with_streaming_response(self) -> AsyncUsersResourceWithStreamingResponse: async def get_authenticated_user( self, *, - body: object, + empty: bool | NotGiven = NOT_GIVEN, # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs. # The extra values given here take precedence over values defined on the client or passed to this method. extra_headers: Headers | None = None, @@ -177,7 +177,9 @@ async def get_authenticated_user( """ return await self._post( "/gitpod.v1.UserService/GetAuthenticatedUser", - body=await async_maybe_transform(body, user_get_authenticated_user_params.UserGetAuthenticatedUserParams), + body=await async_maybe_transform( + {"empty": empty}, user_get_authenticated_user_params.UserGetAuthenticatedUserParams + ), options=make_request_options( extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout ), diff --git a/src/gitpod/types/account_retrieve_params.py b/src/gitpod/types/account_retrieve_params.py index ad9497e8..68642eb9 100644 --- a/src/gitpod/types/account_retrieve_params.py +++ b/src/gitpod/types/account_retrieve_params.py @@ -2,10 +2,10 @@ from __future__ import annotations -from typing_extensions import Required, TypedDict +from typing_extensions import TypedDict __all__ = ["AccountRetrieveParams"] class AccountRetrieveParams(TypedDict, total=False): - body: Required[object] + empty: bool diff --git a/src/gitpod/types/identity_get_authenticated_identity_params.py b/src/gitpod/types/identity_get_authenticated_identity_params.py index 43dd9519..2ed3b1f1 100644 --- a/src/gitpod/types/identity_get_authenticated_identity_params.py +++ b/src/gitpod/types/identity_get_authenticated_identity_params.py @@ -2,10 +2,10 @@ from __future__ import annotations -from typing_extensions import Required, TypedDict +from typing_extensions import TypedDict __all__ = ["IdentityGetAuthenticatedIdentityParams"] class IdentityGetAuthenticatedIdentityParams(TypedDict, total=False): - body: Required[object] + empty: bool diff --git a/src/gitpod/types/user_get_authenticated_user_params.py b/src/gitpod/types/user_get_authenticated_user_params.py index 0f1f105f..2b65cbbf 100644 --- a/src/gitpod/types/user_get_authenticated_user_params.py +++ b/src/gitpod/types/user_get_authenticated_user_params.py @@ -2,10 +2,10 @@ from __future__ import annotations -from typing_extensions import Required, TypedDict +from typing_extensions import TypedDict __all__ = ["UserGetAuthenticatedUserParams"] class UserGetAuthenticatedUserParams(TypedDict, total=False): - body: Required[object] + empty: bool diff --git a/tests/api_resources/environments/automations/tasks/test_executions.py b/tests/api_resources/environments/automations/tasks/test_executions.py index 136a0117..43dc6d00 100644 --- a/tests/api_resources/environments/automations/tasks/test_executions.py +++ b/tests/api_resources/environments/automations/tasks/test_executions.py @@ -21,13 +21,11 @@ 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( @@ -35,7 +33,6 @@ 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() @@ -45,7 +42,6 @@ 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: @@ -57,13 +53,11 @@ 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( @@ -82,7 +76,6 @@ 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() @@ -92,7 +85,6 @@ 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: @@ -104,13 +96,11 @@ 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( @@ -118,7 +108,6 @@ 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() @@ -128,7 +117,6 @@ 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: @@ -144,13 +132,11 @@ 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( @@ -158,7 +144,6 @@ 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() @@ -168,7 +153,6 @@ 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 ( @@ -182,13 +166,11 @@ 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( @@ -207,7 +189,6 @@ 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() @@ -217,7 +198,6 @@ 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: @@ -229,13 +209,11 @@ 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( @@ -243,7 +221,6 @@ 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() @@ -253,7 +230,6 @@ 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 f6a1893c..40f9a7bd 100644 --- a/tests/api_resources/environments/automations/test_services.py +++ b/tests/api_resources/environments/automations/test_services.py @@ -23,13 +23,11 @@ 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( @@ -64,7 +62,6 @@ 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() @@ -74,7 +71,6 @@ 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: @@ -86,13 +82,11 @@ 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( @@ -100,7 +94,6 @@ 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() @@ -110,7 +103,6 @@ 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: @@ -122,13 +114,11 @@ 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( @@ -139,7 +129,6 @@ 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() @@ -149,7 +138,6 @@ 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: @@ -161,13 +149,11 @@ 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( @@ -185,7 +171,6 @@ 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() @@ -195,7 +180,6 @@ 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: @@ -207,13 +191,11 @@ 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( @@ -222,7 +204,6 @@ 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() @@ -232,7 +213,6 @@ 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: @@ -244,13 +224,11 @@ 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( @@ -258,7 +236,6 @@ 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() @@ -268,7 +245,6 @@ 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: @@ -280,13 +256,11 @@ 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( @@ -294,7 +268,6 @@ 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() @@ -304,7 +277,6 @@ 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: @@ -320,13 +292,11 @@ 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( @@ -361,7 +331,6 @@ 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() @@ -371,7 +340,6 @@ 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: @@ -383,13 +351,11 @@ 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( @@ -397,7 +363,6 @@ 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() @@ -407,7 +372,6 @@ 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: @@ -419,13 +383,11 @@ 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( @@ -436,7 +398,6 @@ 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() @@ -446,7 +407,6 @@ 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: @@ -458,13 +418,11 @@ 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( @@ -482,7 +440,6 @@ 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() @@ -492,7 +449,6 @@ 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: @@ -504,13 +460,11 @@ 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( @@ -519,7 +473,6 @@ 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() @@ -529,7 +482,6 @@ 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: @@ -541,13 +493,11 @@ 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( @@ -555,7 +505,6 @@ 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() @@ -565,7 +514,6 @@ 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: @@ -577,13 +525,11 @@ 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( @@ -591,7 +537,6 @@ 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() @@ -601,7 +546,6 @@ 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 381d28f5..3138f430 100644 --- a/tests/api_resources/environments/automations/test_tasks.py +++ b/tests/api_resources/environments/automations/test_tasks.py @@ -24,13 +24,11 @@ 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( @@ -59,7 +57,6 @@ 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() @@ -69,7 +66,6 @@ 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: @@ -81,13 +77,11 @@ 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( @@ -95,7 +89,6 @@ 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() @@ -105,7 +98,6 @@ 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: @@ -117,13 +109,11 @@ 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( @@ -134,7 +124,6 @@ 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() @@ -144,7 +133,6 @@ 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: @@ -156,13 +144,11 @@ 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( @@ -180,7 +166,6 @@ 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() @@ -190,7 +175,6 @@ 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: @@ -202,13 +186,11 @@ 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( @@ -216,7 +198,6 @@ 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() @@ -226,7 +207,6 @@ 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: @@ -238,13 +218,11 @@ 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( @@ -252,7 +230,6 @@ 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() @@ -262,7 +239,6 @@ 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: @@ -278,13 +254,11 @@ 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( @@ -313,7 +287,6 @@ 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() @@ -323,7 +296,6 @@ 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: @@ -335,13 +307,11 @@ 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( @@ -349,7 +319,6 @@ 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() @@ -359,7 +328,6 @@ 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: @@ -371,13 +339,11 @@ 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( @@ -388,7 +354,6 @@ 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() @@ -398,7 +363,6 @@ 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: @@ -410,13 +374,11 @@ 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( @@ -434,7 +396,6 @@ 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() @@ -444,7 +405,6 @@ 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: @@ -456,13 +416,11 @@ 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( @@ -470,7 +428,6 @@ 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() @@ -480,7 +437,6 @@ 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: @@ -492,13 +448,11 @@ 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( @@ -506,7 +460,6 @@ 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() @@ -516,7 +469,6 @@ 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 e4c8ffdb..5b0f7c20 100644 --- a/tests/api_resources/environments/test_automations.py +++ b/tests/api_resources/environments/test_automations.py @@ -17,13 +17,11 @@ 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( @@ -66,7 +64,6 @@ 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() @@ -76,7 +73,6 @@ 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: @@ -92,13 +88,11 @@ 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( @@ -141,7 +135,6 @@ 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() @@ -151,7 +144,6 @@ 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 3b525f3e..7ef88fab 100644 --- a/tests/api_resources/environments/test_classes.py +++ b/tests/api_resources/environments/test_classes.py @@ -18,13 +18,11 @@ 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( @@ -38,7 +36,6 @@ 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() @@ -48,7 +45,6 @@ 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: @@ -64,13 +60,11 @@ 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( @@ -84,7 +78,6 @@ 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() @@ -94,7 +87,6 @@ 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 b158bc41..0f80a2a1 100644 --- a/tests/api_resources/organizations/test_invites.py +++ b/tests/api_resources/organizations/test_invites.py @@ -21,13 +21,11 @@ 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( @@ -35,7 +33,6 @@ 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() @@ -45,7 +42,6 @@ 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: @@ -57,13 +53,11 @@ 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( @@ -71,7 +65,6 @@ 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() @@ -81,7 +74,6 @@ 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: @@ -93,13 +85,11 @@ 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( @@ -107,7 +97,6 @@ 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() @@ -117,7 +106,6 @@ 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: @@ -133,13 +121,11 @@ 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( @@ -147,7 +133,6 @@ 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() @@ -157,7 +142,6 @@ 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: @@ -169,13 +153,11 @@ 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( @@ -183,7 +165,6 @@ 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() @@ -193,7 +174,6 @@ 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: @@ -205,13 +185,11 @@ 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( @@ -219,7 +197,6 @@ 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() @@ -229,7 +206,6 @@ 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 04d19db3..e23cf090 100644 --- a/tests/api_resources/organizations/test_sso_configurations.py +++ b/tests/api_resources/organizations/test_sso_configurations.py @@ -22,13 +22,11 @@ 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( @@ -40,7 +38,6 @@ 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() @@ -50,7 +47,6 @@ 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: @@ -62,13 +58,11 @@ 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( @@ -76,7 +70,6 @@ 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() @@ -86,7 +79,6 @@ 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: @@ -98,7 +90,6 @@ 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( @@ -106,7 +97,6 @@ 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( @@ -118,7 +108,6 @@ 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( @@ -132,7 +121,6 @@ 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( @@ -140,7 +128,6 @@ 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( @@ -152,7 +139,6 @@ 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( @@ -166,7 +152,6 @@ 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( @@ -174,7 +159,6 @@ 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( @@ -186,7 +170,6 @@ 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( @@ -200,7 +183,6 @@ 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( @@ -208,7 +190,6 @@ 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( @@ -220,7 +201,6 @@ 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( @@ -234,7 +214,6 @@ 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( @@ -242,7 +221,6 @@ 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( @@ -254,7 +232,6 @@ 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( @@ -268,7 +245,6 @@ 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() @@ -276,7 +252,6 @@ 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( @@ -292,7 +267,6 @@ 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() @@ -304,7 +278,6 @@ 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: @@ -318,13 +291,11 @@ 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( @@ -332,7 +303,6 @@ 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() @@ -342,7 +312,6 @@ 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: @@ -358,13 +327,11 @@ 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( @@ -376,7 +343,6 @@ 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() @@ -386,7 +352,6 @@ 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: @@ -398,13 +363,11 @@ 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( @@ -412,7 +375,6 @@ 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() @@ -422,7 +384,6 @@ 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: @@ -434,7 +395,6 @@ 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( @@ -442,7 +402,6 @@ 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( @@ -454,7 +413,6 @@ 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( @@ -468,7 +426,6 @@ 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( @@ -476,7 +433,6 @@ 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( @@ -488,7 +444,6 @@ 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( @@ -502,7 +457,6 @@ 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( @@ -510,7 +464,6 @@ 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( @@ -522,7 +475,6 @@ 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( @@ -536,7 +488,6 @@ 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( @@ -544,7 +495,6 @@ 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( @@ -556,7 +506,6 @@ 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( @@ -570,7 +519,6 @@ 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( @@ -578,7 +526,6 @@ 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( @@ -590,7 +537,6 @@ 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( @@ -604,7 +550,6 @@ 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() @@ -612,7 +557,6 @@ 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( @@ -628,7 +572,6 @@ 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() @@ -640,7 +583,6 @@ 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: @@ -654,13 +596,11 @@ 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( @@ -668,7 +608,6 @@ 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() @@ -678,7 +617,6 @@ 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 c066dcbb..84f3f9a4 100644 --- a/tests/api_resources/projects/test_policies.py +++ b/tests/api_resources/projects/test_policies.py @@ -22,13 +22,11 @@ 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( @@ -38,7 +36,6 @@ 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() @@ -48,7 +45,6 @@ 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: @@ -60,13 +56,11 @@ 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( @@ -76,7 +70,6 @@ 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() @@ -86,7 +79,6 @@ 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: @@ -98,13 +90,11 @@ 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( @@ -118,7 +108,6 @@ 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() @@ -128,7 +117,6 @@ 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: @@ -140,13 +128,11 @@ 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( @@ -155,7 +141,6 @@ 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() @@ -165,7 +150,6 @@ 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: @@ -181,13 +165,11 @@ 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( @@ -197,7 +179,6 @@ 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() @@ -207,7 +188,6 @@ 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: @@ -219,13 +199,11 @@ 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( @@ -235,7 +213,6 @@ 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() @@ -245,7 +222,6 @@ 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: @@ -257,13 +233,11 @@ 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( @@ -277,7 +251,6 @@ 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() @@ -287,7 +260,6 @@ 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: @@ -299,13 +271,11 @@ 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( @@ -314,7 +284,6 @@ 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() @@ -324,7 +293,6 @@ 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 d08bb882..50c85989 100644 --- a/tests/api_resources/runners/configurations/test_environment_classes.py +++ b/tests/api_resources/runners/configurations/test_environment_classes.py @@ -22,13 +22,11 @@ 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( @@ -44,7 +42,6 @@ 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() @@ -54,7 +51,6 @@ 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: @@ -66,13 +62,11 @@ 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( @@ -80,7 +74,6 @@ 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() @@ -90,7 +83,6 @@ 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: @@ -102,7 +94,6 @@ 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( @@ -110,7 +101,6 @@ 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( @@ -122,7 +112,6 @@ 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( @@ -136,7 +125,6 @@ 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( @@ -144,7 +132,6 @@ 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( @@ -156,7 +143,6 @@ 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( @@ -170,7 +156,6 @@ 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( @@ -178,7 +163,6 @@ 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( @@ -190,7 +174,6 @@ 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( @@ -204,7 +187,6 @@ 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() @@ -212,7 +194,6 @@ 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( @@ -228,7 +209,6 @@ 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() @@ -240,7 +220,6 @@ 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: @@ -258,13 +237,11 @@ 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( @@ -280,7 +257,6 @@ 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() @@ -290,7 +266,6 @@ 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: @@ -302,13 +277,11 @@ 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( @@ -316,7 +289,6 @@ 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() @@ -326,7 +298,6 @@ 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 ( @@ -340,7 +311,6 @@ 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( @@ -348,7 +318,6 @@ 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( @@ -360,7 +329,6 @@ 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( @@ -374,7 +342,6 @@ 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( @@ -382,7 +349,6 @@ 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( @@ -394,7 +360,6 @@ 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( @@ -408,7 +373,6 @@ 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( @@ -416,7 +380,6 @@ 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( @@ -428,7 +391,6 @@ 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( @@ -442,7 +404,6 @@ 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() @@ -450,7 +411,6 @@ 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( @@ -466,7 +426,6 @@ 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() @@ -478,7 +437,6 @@ 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 1520b2ae..6e1752bf 100644 --- a/tests/api_resources/runners/configurations/test_host_authentication_tokens.py +++ b/tests/api_resources/runners/configurations/test_host_authentication_tokens.py @@ -23,13 +23,11 @@ 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( @@ -43,7 +41,6 @@ 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() @@ -53,7 +50,6 @@ 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: @@ -65,13 +61,11 @@ 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( @@ -79,7 +73,6 @@ 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() @@ -89,7 +82,6 @@ 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: @@ -101,7 +93,6 @@ 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( @@ -109,7 +100,6 @@ 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( @@ -121,7 +111,6 @@ 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( @@ -135,7 +124,6 @@ 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( @@ -143,7 +131,6 @@ 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( @@ -155,7 +142,6 @@ 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( @@ -169,7 +155,6 @@ 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( @@ -177,7 +162,6 @@ 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( @@ -189,7 +173,6 @@ 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( @@ -203,7 +186,6 @@ 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() @@ -211,7 +193,6 @@ 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( @@ -227,7 +208,6 @@ 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() @@ -239,7 +219,6 @@ 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: @@ -253,13 +232,11 @@ 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( @@ -267,7 +244,6 @@ 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() @@ -277,7 +253,6 @@ 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: @@ -293,13 +268,11 @@ 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( @@ -313,7 +286,6 @@ 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() @@ -323,7 +295,6 @@ 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 ( @@ -337,13 +308,11 @@ 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( @@ -351,7 +320,6 @@ 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() @@ -361,7 +329,6 @@ 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 ( @@ -375,7 +342,6 @@ 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( @@ -383,7 +349,6 @@ 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( @@ -395,7 +360,6 @@ 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( @@ -409,7 +373,6 @@ 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( @@ -417,7 +380,6 @@ 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( @@ -429,7 +391,6 @@ 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( @@ -443,7 +404,6 @@ 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( @@ -451,7 +411,6 @@ 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( @@ -463,7 +422,6 @@ 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( @@ -477,7 +435,6 @@ 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() @@ -485,7 +442,6 @@ 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( @@ -501,7 +457,6 @@ 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() @@ -513,7 +468,6 @@ 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 ( @@ -529,13 +483,11 @@ 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( @@ -543,7 +495,6 @@ 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() @@ -553,7 +504,6 @@ 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 3fce8e32..47601189 100644 --- a/tests/api_resources/runners/configurations/test_schema.py +++ b/tests/api_resources/runners/configurations/test_schema.py @@ -17,13 +17,11 @@ 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( @@ -31,7 +29,6 @@ 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() @@ -41,7 +38,6 @@ 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: @@ -57,13 +53,11 @@ 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( @@ -71,7 +65,6 @@ 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() @@ -81,7 +74,6 @@ 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 e827e39b..4f404eaa 100644 --- a/tests/api_resources/runners/configurations/test_scm_integrations.py +++ b/tests/api_resources/runners/configurations/test_scm_integrations.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -42,7 +40,6 @@ 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( @@ -56,7 +53,6 @@ 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( @@ -64,7 +60,6 @@ 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( @@ -76,7 +71,6 @@ 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( @@ -90,13 +84,11 @@ 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( @@ -104,7 +96,6 @@ 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() @@ -114,7 +105,6 @@ 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: @@ -126,7 +116,6 @@ 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( @@ -134,7 +123,6 @@ 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( @@ -146,7 +134,6 @@ 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( @@ -160,7 +147,6 @@ 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( @@ -168,7 +154,6 @@ 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( @@ -180,7 +165,6 @@ 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( @@ -194,7 +178,6 @@ 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( @@ -202,7 +185,6 @@ 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( @@ -214,7 +196,6 @@ 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( @@ -228,13 +209,11 @@ 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( @@ -248,7 +227,6 @@ 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() @@ -258,7 +236,6 @@ 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: @@ -270,13 +247,11 @@ 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( @@ -284,7 +259,6 @@ 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() @@ -294,7 +268,6 @@ 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: @@ -310,7 +283,6 @@ 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( @@ -318,7 +290,6 @@ 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( @@ -330,7 +301,6 @@ 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( @@ -344,7 +314,6 @@ 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( @@ -352,7 +321,6 @@ 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( @@ -364,7 +332,6 @@ 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( @@ -378,13 +345,11 @@ 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( @@ -392,7 +357,6 @@ 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() @@ -402,7 +366,6 @@ 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: @@ -414,7 +377,6 @@ 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( @@ -422,7 +384,6 @@ 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( @@ -434,7 +395,6 @@ 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( @@ -448,7 +408,6 @@ 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( @@ -456,7 +415,6 @@ 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( @@ -468,7 +426,6 @@ 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( @@ -482,7 +439,6 @@ 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( @@ -490,7 +446,6 @@ 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( @@ -502,7 +457,6 @@ 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( @@ -516,13 +470,11 @@ 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( @@ -536,7 +488,6 @@ 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() @@ -546,7 +497,6 @@ 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: @@ -558,13 +508,11 @@ 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( @@ -572,7 +520,6 @@ 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() @@ -582,7 +529,6 @@ 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 833058db..b64232aa 100644 --- a/tests/api_resources/runners/test_configurations.py +++ b/tests/api_resources/runners/test_configurations.py @@ -17,7 +17,6 @@ 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( @@ -25,7 +24,6 @@ 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( @@ -46,7 +44,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -72,7 +68,6 @@ 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( @@ -80,7 +75,6 @@ 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( @@ -89,7 +83,6 @@ 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( @@ -101,7 +94,6 @@ 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( @@ -119,7 +111,6 @@ 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( @@ -127,7 +118,6 @@ 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( @@ -148,7 +138,6 @@ 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( @@ -160,7 +149,6 @@ 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( @@ -174,7 +162,6 @@ 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( @@ -182,7 +169,6 @@ 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( @@ -191,7 +177,6 @@ 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( @@ -203,7 +188,6 @@ 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 bd75557f..11a2f953 100644 --- a/tests/api_resources/runners/test_policies.py +++ b/tests/api_resources/runners/test_policies.py @@ -22,13 +22,11 @@ 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( @@ -38,7 +36,6 @@ 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() @@ -48,7 +45,6 @@ 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: @@ -60,13 +56,11 @@ 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( @@ -76,7 +70,6 @@ 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() @@ -86,7 +79,6 @@ 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: @@ -98,13 +90,11 @@ 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( @@ -118,7 +108,6 @@ 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() @@ -128,7 +117,6 @@ 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: @@ -140,13 +128,11 @@ 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( @@ -155,7 +141,6 @@ 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() @@ -165,7 +150,6 @@ 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: @@ -181,13 +165,11 @@ 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( @@ -197,7 +179,6 @@ 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() @@ -207,7 +188,6 @@ 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: @@ -219,13 +199,11 @@ 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( @@ -235,7 +213,6 @@ 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() @@ -245,7 +222,6 @@ 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: @@ -257,13 +233,11 @@ 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( @@ -277,7 +251,6 @@ 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() @@ -287,7 +260,6 @@ 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: @@ -299,13 +271,11 @@ 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( @@ -314,7 +284,6 @@ 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() @@ -324,7 +293,6 @@ 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 ab0d94f9..485ed4f0 100644 --- a/tests/api_resources/test_accounts.py +++ b/tests/api_resources/test_accounts.py @@ -22,32 +22,30 @@ 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() + assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + + @parametrize + def test_method_retrieve_with_all_params(self, client: Gitpod) -> None: account = client.accounts.retrieve( - body={}, + empty=True, ) 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( - body={}, - ) + response = client.accounts.with_raw_response.retrieve() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + with client.accounts.with_streaming_response.retrieve() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -56,13 +54,11 @@ 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( @@ -70,7 +66,6 @@ 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() @@ -80,7 +75,6 @@ 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: @@ -92,7 +86,6 @@ 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( @@ -100,7 +93,6 @@ 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( @@ -109,7 +101,6 @@ 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( @@ -121,7 +112,6 @@ 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( @@ -135,13 +125,11 @@ 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( @@ -155,7 +143,6 @@ 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() @@ -165,7 +152,6 @@ 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: @@ -181,32 +167,30 @@ 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() + assert_matches_type(AccountRetrieveResponse, account, path=["response"]) + + @parametrize + async def test_method_retrieve_with_all_params(self, async_client: AsyncGitpod) -> None: account = await async_client.accounts.retrieve( - body={}, + empty=True, ) 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( - body={}, - ) + response = await async_client.accounts.with_raw_response.retrieve() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + async with async_client.accounts.with_streaming_response.retrieve() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -215,13 +199,11 @@ 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( @@ -229,7 +211,6 @@ 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() @@ -239,7 +220,6 @@ 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: @@ -251,7 +231,6 @@ 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( @@ -259,7 +238,6 @@ 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( @@ -268,7 +246,6 @@ 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( @@ -280,7 +257,6 @@ 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( @@ -294,13 +270,11 @@ 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( @@ -314,7 +288,6 @@ 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() @@ -324,7 +297,6 @@ 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 d3de3026..10f3a757 100644 --- a/tests/api_resources/test_editors.py +++ b/tests/api_resources/test_editors.py @@ -22,13 +22,11 @@ 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( @@ -36,7 +34,6 @@ 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() @@ -46,7 +43,6 @@ 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: @@ -58,13 +54,11 @@ 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( @@ -77,7 +71,6 @@ 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() @@ -87,7 +80,6 @@ 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: @@ -99,13 +91,11 @@ 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( @@ -115,7 +105,6 @@ 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() @@ -125,7 +114,6 @@ 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: @@ -141,13 +129,11 @@ 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( @@ -155,7 +141,6 @@ 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() @@ -165,7 +150,6 @@ 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: @@ -177,13 +161,11 @@ 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( @@ -196,7 +178,6 @@ 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() @@ -206,7 +187,6 @@ 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: @@ -218,13 +198,11 @@ 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( @@ -234,7 +212,6 @@ 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() @@ -244,7 +221,6 @@ 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 08dc4635..60087985 100644 --- a/tests/api_resources/test_environments.py +++ b/tests/api_resources/test_environments.py @@ -25,13 +25,11 @@ 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( @@ -84,7 +82,6 @@ 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() @@ -94,7 +91,6 @@ 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: @@ -106,13 +102,11 @@ 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( @@ -120,7 +114,6 @@ 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() @@ -130,7 +123,6 @@ 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: @@ -142,7 +134,6 @@ 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( @@ -150,7 +141,6 @@ 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( @@ -162,7 +152,6 @@ 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( @@ -176,7 +165,6 @@ 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( @@ -184,7 +172,6 @@ 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( @@ -196,7 +183,6 @@ 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( @@ -210,13 +196,11 @@ 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( @@ -237,7 +221,6 @@ 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() @@ -247,7 +230,6 @@ 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: @@ -259,13 +241,11 @@ 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( @@ -274,7 +254,6 @@ 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() @@ -284,7 +263,6 @@ 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: @@ -296,13 +274,11 @@ 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( @@ -356,7 +332,6 @@ 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() @@ -366,7 +341,6 @@ 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: @@ -378,13 +352,11 @@ 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( @@ -392,7 +364,6 @@ 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() @@ -402,7 +373,6 @@ 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: @@ -414,13 +384,11 @@ 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( @@ -432,7 +400,6 @@ 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() @@ -442,7 +409,6 @@ 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: @@ -454,13 +420,11 @@ 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( @@ -468,7 +432,6 @@ 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() @@ -478,7 +441,6 @@ 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: @@ -490,13 +452,11 @@ 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( @@ -504,7 +464,6 @@ 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() @@ -514,7 +473,6 @@ 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: @@ -530,13 +488,11 @@ 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( @@ -589,7 +545,6 @@ 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() @@ -599,7 +554,6 @@ 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: @@ -611,13 +565,11 @@ 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( @@ -625,7 +577,6 @@ 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() @@ -635,7 +586,6 @@ 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: @@ -647,7 +597,6 @@ 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( @@ -655,7 +604,6 @@ 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( @@ -667,7 +615,6 @@ 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( @@ -681,7 +628,6 @@ 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( @@ -689,7 +635,6 @@ 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( @@ -701,7 +646,6 @@ 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( @@ -715,13 +659,11 @@ 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( @@ -742,7 +684,6 @@ 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() @@ -752,7 +693,6 @@ 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: @@ -764,13 +704,11 @@ 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( @@ -779,7 +717,6 @@ 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() @@ -789,7 +726,6 @@ 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: @@ -801,13 +737,11 @@ 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( @@ -861,7 +795,6 @@ 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() @@ -871,7 +804,6 @@ 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: @@ -883,13 +815,11 @@ 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( @@ -897,7 +827,6 @@ 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() @@ -907,7 +836,6 @@ 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: @@ -919,13 +847,11 @@ 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( @@ -937,7 +863,6 @@ 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() @@ -947,7 +872,6 @@ 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: @@ -959,13 +883,11 @@ 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( @@ -973,7 +895,6 @@ 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() @@ -983,7 +904,6 @@ 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: @@ -995,13 +915,11 @@ 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( @@ -1009,7 +927,6 @@ 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() @@ -1019,7 +936,6 @@ 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 b3fdfdd5..975597b5 100644 --- a/tests/api_resources/test_events.py +++ b/tests/api_resources/test_events.py @@ -19,13 +19,11 @@ 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( @@ -44,7 +42,6 @@ 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() @@ -54,7 +51,6 @@ 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: @@ -138,13 +134,11 @@ 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( @@ -163,7 +157,6 @@ 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() @@ -173,7 +166,6 @@ 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 2d4abe98..bf2e4b16 100644 --- a/tests/api_resources/test_groups.py +++ b/tests/api_resources/test_groups.py @@ -18,13 +18,11 @@ 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( @@ -37,7 +35,6 @@ 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() @@ -47,7 +44,6 @@ 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: @@ -63,13 +59,11 @@ 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( @@ -82,7 +76,6 @@ 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() @@ -92,7 +85,6 @@ 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 e5021da3..e17719de 100644 --- a/tests/api_resources/test_identity.py +++ b/tests/api_resources/test_identity.py @@ -21,13 +21,11 @@ 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( @@ -35,7 +33,6 @@ 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() @@ -45,7 +42,6 @@ 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: @@ -57,32 +53,30 @@ 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() + assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + + @parametrize + def test_method_get_authenticated_identity_with_all_params(self, client: Gitpod) -> None: identity = client.identity.get_authenticated_identity( - body={}, + empty=True, ) 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( - body={}, - ) + response = client.identity.with_raw_response.get_authenticated_identity() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + with client.identity.with_streaming_response.get_authenticated_identity() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -91,13 +85,11 @@ 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( @@ -105,7 +97,6 @@ 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() @@ -115,7 +106,6 @@ 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: @@ -131,13 +121,11 @@ 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( @@ -145,7 +133,6 @@ 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() @@ -155,7 +142,6 @@ 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: @@ -167,32 +153,30 @@ 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() + assert_matches_type(IdentityGetAuthenticatedIdentityResponse, identity, path=["response"]) + + @parametrize + async def test_method_get_authenticated_identity_with_all_params(self, async_client: AsyncGitpod) -> None: identity = await async_client.identity.get_authenticated_identity( - body={}, + empty=True, ) 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( - body={}, - ) + response = await async_client.identity.with_raw_response.get_authenticated_identity() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + async with async_client.identity.with_streaming_response.get_authenticated_identity() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -201,13 +185,11 @@ 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( @@ -215,7 +197,6 @@ 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() @@ -225,7 +206,6 @@ 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 1c0c5afc..3a017473 100644 --- a/tests/api_resources/test_organizations.py +++ b/tests/api_resources/test_organizations.py @@ -25,13 +25,11 @@ 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( @@ -41,7 +39,6 @@ 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() @@ -51,7 +48,6 @@ 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: @@ -63,13 +59,11 @@ 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( @@ -77,7 +71,6 @@ 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() @@ -87,7 +80,6 @@ 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: @@ -99,7 +91,6 @@ 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( @@ -107,7 +98,6 @@ 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( @@ -115,7 +105,6 @@ 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( @@ -127,7 +116,6 @@ 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( @@ -141,7 +129,6 @@ 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( @@ -149,7 +136,6 @@ 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( @@ -161,7 +147,6 @@ 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( @@ -175,13 +160,11 @@ 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( @@ -195,7 +178,6 @@ 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() @@ -205,7 +187,6 @@ 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: @@ -217,13 +198,11 @@ 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( @@ -231,7 +210,6 @@ 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() @@ -241,7 +219,6 @@ 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: @@ -253,7 +230,6 @@ 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( @@ -261,7 +237,6 @@ 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( @@ -273,7 +248,6 @@ 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( @@ -287,7 +261,6 @@ 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( @@ -295,7 +268,6 @@ 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( @@ -307,7 +279,6 @@ 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( @@ -321,13 +292,11 @@ 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( @@ -335,7 +304,6 @@ 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() @@ -345,7 +313,6 @@ 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: @@ -357,13 +324,11 @@ 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( @@ -377,7 +342,6 @@ 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() @@ -387,7 +351,6 @@ 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: @@ -399,13 +362,11 @@ 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( @@ -415,7 +376,6 @@ 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() @@ -425,7 +385,6 @@ 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: @@ -441,13 +400,11 @@ 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( @@ -457,7 +414,6 @@ 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() @@ -467,7 +423,6 @@ 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: @@ -479,13 +434,11 @@ 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( @@ -493,7 +446,6 @@ 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() @@ -503,7 +455,6 @@ 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: @@ -515,7 +466,6 @@ 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( @@ -523,7 +473,6 @@ 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( @@ -531,7 +480,6 @@ 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( @@ -543,7 +491,6 @@ 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( @@ -557,7 +504,6 @@ 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( @@ -565,7 +511,6 @@ 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( @@ -577,7 +522,6 @@ 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( @@ -591,13 +535,11 @@ 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( @@ -611,7 +553,6 @@ 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() @@ -621,7 +562,6 @@ 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: @@ -633,13 +573,11 @@ 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( @@ -647,7 +585,6 @@ 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() @@ -657,7 +594,6 @@ 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: @@ -669,7 +605,6 @@ 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( @@ -677,7 +612,6 @@ 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( @@ -689,7 +623,6 @@ 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( @@ -703,7 +636,6 @@ 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( @@ -711,7 +643,6 @@ 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( @@ -723,7 +654,6 @@ 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( @@ -737,13 +667,11 @@ 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( @@ -751,7 +679,6 @@ 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() @@ -761,7 +688,6 @@ 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: @@ -773,13 +699,11 @@ 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( @@ -793,7 +717,6 @@ 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() @@ -803,7 +726,6 @@ 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: @@ -815,13 +737,11 @@ 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( @@ -831,7 +751,6 @@ 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() @@ -841,7 +760,6 @@ 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 754f4395..ea12d993 100644 --- a/tests/api_resources/test_projects.py +++ b/tests/api_resources/test_projects.py @@ -24,7 +24,6 @@ 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( @@ -33,7 +32,6 @@ 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( @@ -45,7 +43,6 @@ 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( @@ -58,7 +55,6 @@ 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( @@ -73,13 +69,11 @@ 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( @@ -87,7 +81,6 @@ 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() @@ -97,7 +90,6 @@ 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: @@ -109,7 +101,6 @@ 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( @@ -117,7 +108,6 @@ 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( @@ -129,7 +119,6 @@ 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( @@ -143,7 +132,6 @@ 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( @@ -151,7 +139,6 @@ 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( @@ -163,7 +150,6 @@ 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( @@ -177,7 +163,6 @@ 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( @@ -185,7 +170,6 @@ 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( @@ -197,7 +181,6 @@ 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( @@ -211,7 +194,6 @@ 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( @@ -219,7 +201,6 @@ 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( @@ -227,7 +208,6 @@ 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( @@ -239,7 +219,6 @@ 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( @@ -253,7 +232,6 @@ 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( @@ -261,7 +239,6 @@ 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( @@ -273,7 +250,6 @@ 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( @@ -287,13 +263,11 @@ 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( @@ -306,7 +280,6 @@ 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() @@ -316,7 +289,6 @@ 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: @@ -328,13 +300,11 @@ 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( @@ -342,7 +312,6 @@ 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() @@ -352,7 +321,6 @@ 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: @@ -364,13 +332,11 @@ 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( @@ -379,7 +345,6 @@ 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() @@ -389,7 +354,6 @@ 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: @@ -405,7 +369,6 @@ 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( @@ -414,7 +377,6 @@ 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( @@ -426,7 +388,6 @@ 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( @@ -439,7 +400,6 @@ 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( @@ -454,13 +414,11 @@ 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( @@ -468,7 +426,6 @@ 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() @@ -478,7 +435,6 @@ 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: @@ -490,7 +446,6 @@ 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( @@ -498,7 +453,6 @@ 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( @@ -510,7 +464,6 @@ 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( @@ -524,7 +477,6 @@ 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( @@ -532,7 +484,6 @@ 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( @@ -544,7 +495,6 @@ 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( @@ -558,7 +508,6 @@ 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( @@ -566,7 +515,6 @@ 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( @@ -578,7 +526,6 @@ 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( @@ -592,7 +539,6 @@ 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( @@ -600,7 +546,6 @@ 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( @@ -608,7 +553,6 @@ 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( @@ -620,7 +564,6 @@ 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( @@ -634,7 +577,6 @@ 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( @@ -642,7 +584,6 @@ 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( @@ -654,7 +595,6 @@ 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( @@ -668,13 +608,11 @@ 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( @@ -687,7 +625,6 @@ 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() @@ -697,7 +634,6 @@ 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: @@ -709,13 +645,11 @@ 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( @@ -723,7 +657,6 @@ 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() @@ -733,7 +666,6 @@ 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: @@ -745,13 +677,11 @@ 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( @@ -760,7 +690,6 @@ 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() @@ -770,7 +699,6 @@ 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 6c510f24..cf3bc974 100644 --- a/tests/api_resources/test_runners.py +++ b/tests/api_resources/test_runners.py @@ -25,13 +25,11 @@ 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( @@ -49,7 +47,6 @@ 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() @@ -59,7 +56,6 @@ 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: @@ -71,13 +67,11 @@ 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( @@ -85,7 +79,6 @@ 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() @@ -95,7 +88,6 @@ 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: @@ -107,7 +99,6 @@ 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( @@ -115,7 +106,6 @@ 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( @@ -127,7 +117,6 @@ 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( @@ -141,7 +130,6 @@ 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( @@ -149,7 +137,6 @@ 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( @@ -161,7 +148,6 @@ 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( @@ -175,13 +161,11 @@ 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( @@ -199,7 +183,6 @@ 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() @@ -209,7 +192,6 @@ 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: @@ -221,13 +203,11 @@ 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( @@ -236,7 +216,6 @@ 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() @@ -246,7 +225,6 @@ 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: @@ -258,13 +236,11 @@ 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( @@ -273,7 +249,6 @@ 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() @@ -283,7 +258,6 @@ 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: @@ -295,13 +269,11 @@ 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( @@ -309,7 +281,6 @@ 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() @@ -319,7 +290,6 @@ 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: @@ -331,13 +301,11 @@ 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( @@ -346,7 +314,6 @@ 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() @@ -356,7 +323,6 @@ 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: @@ -372,13 +338,11 @@ 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( @@ -396,7 +360,6 @@ 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() @@ -406,7 +369,6 @@ 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: @@ -418,13 +380,11 @@ 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( @@ -432,7 +392,6 @@ 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() @@ -442,7 +401,6 @@ 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: @@ -454,7 +412,6 @@ 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( @@ -462,7 +419,6 @@ 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( @@ -474,7 +430,6 @@ 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( @@ -488,7 +443,6 @@ 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( @@ -496,7 +450,6 @@ 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( @@ -508,7 +461,6 @@ 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( @@ -522,13 +474,11 @@ 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( @@ -546,7 +496,6 @@ 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() @@ -556,7 +505,6 @@ 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: @@ -568,13 +516,11 @@ 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( @@ -583,7 +529,6 @@ 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() @@ -593,7 +538,6 @@ 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: @@ -605,13 +549,11 @@ 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( @@ -620,7 +562,6 @@ 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() @@ -630,7 +571,6 @@ 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: @@ -642,13 +582,11 @@ 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( @@ -656,7 +594,6 @@ 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() @@ -666,7 +603,6 @@ 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: @@ -678,13 +614,11 @@ 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( @@ -693,7 +627,6 @@ 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() @@ -703,7 +636,6 @@ 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 07fd383f..2ffe8167 100644 --- a/tests/api_resources/test_secrets.py +++ b/tests/api_resources/test_secrets.py @@ -22,7 +22,6 @@ 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( @@ -30,7 +29,6 @@ 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( @@ -41,7 +39,6 @@ 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( @@ -53,7 +50,6 @@ 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( @@ -67,7 +63,6 @@ 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( @@ -75,7 +70,6 @@ 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( @@ -86,7 +80,6 @@ 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( @@ -98,7 +91,6 @@ 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( @@ -112,13 +104,11 @@ 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( @@ -132,7 +122,6 @@ 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() @@ -142,7 +131,6 @@ 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: @@ -154,13 +142,11 @@ 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( @@ -168,7 +154,6 @@ 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() @@ -178,7 +163,6 @@ 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: @@ -190,13 +174,11 @@ 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( @@ -204,7 +186,6 @@ 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() @@ -214,7 +195,6 @@ 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: @@ -226,13 +206,11 @@ 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( @@ -241,7 +219,6 @@ 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() @@ -251,7 +228,6 @@ 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: @@ -267,7 +243,6 @@ 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( @@ -275,7 +250,6 @@ 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( @@ -286,7 +260,6 @@ 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( @@ -298,7 +271,6 @@ 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( @@ -312,7 +284,6 @@ 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( @@ -320,7 +291,6 @@ 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( @@ -331,7 +301,6 @@ 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( @@ -343,7 +312,6 @@ 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( @@ -357,13 +325,11 @@ 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( @@ -377,7 +343,6 @@ 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() @@ -387,7 +352,6 @@ 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: @@ -399,13 +363,11 @@ 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( @@ -413,7 +375,6 @@ 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() @@ -423,7 +384,6 @@ 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: @@ -435,13 +395,11 @@ 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( @@ -449,7 +407,6 @@ 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() @@ -459,7 +416,6 @@ 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: @@ -471,13 +427,11 @@ 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( @@ -486,7 +440,6 @@ 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() @@ -496,7 +449,6 @@ 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 cd94f2b4..13a6e565 100644 --- a/tests/api_resources/test_users.py +++ b/tests/api_resources/test_users.py @@ -17,32 +17,30 @@ 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() + assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + + @parametrize + def test_method_get_authenticated_user_with_all_params(self, client: Gitpod) -> None: user = client.users.get_authenticated_user( - body={}, + empty=True, ) 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( - body={}, - ) + response = client.users.with_raw_response.get_authenticated_user() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + with client.users.with_streaming_response.get_authenticated_user() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -51,13 +49,11 @@ 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( @@ -66,7 +62,6 @@ 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() @@ -76,7 +71,6 @@ 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: @@ -92,32 +86,30 @@ 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() + assert_matches_type(UserGetAuthenticatedUserResponse, user, path=["response"]) + + @parametrize + async def test_method_get_authenticated_user_with_all_params(self, async_client: AsyncGitpod) -> None: user = await async_client.users.get_authenticated_user( - body={}, + empty=True, ) 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( - body={}, - ) + response = await async_client.users.with_raw_response.get_authenticated_user() assert response.is_closed is True assert response.http_request.headers.get("X-Stainless-Lang") == "python" 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( - body={}, - ) as response: + async with async_client.users.with_streaming_response.get_authenticated_user() as response: assert not response.is_closed assert response.http_request.headers.get("X-Stainless-Lang") == "python" @@ -126,13 +118,11 @@ 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( @@ -141,7 +131,6 @@ 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() @@ -151,7 +140,6 @@ 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 d20704e8..c0fa515b 100644 --- a/tests/api_resources/users/test_pats.py +++ b/tests/api_resources/users/test_pats.py @@ -18,13 +18,11 @@ 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( @@ -38,7 +36,6 @@ 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() @@ -48,7 +45,6 @@ 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: @@ -60,13 +56,11 @@ 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( @@ -74,7 +68,6 @@ 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() @@ -84,7 +77,6 @@ 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: @@ -96,13 +88,11 @@ 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( @@ -110,7 +100,6 @@ 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() @@ -120,7 +109,6 @@ 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: @@ -136,13 +124,11 @@ 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( @@ -156,7 +142,6 @@ 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() @@ -166,7 +151,6 @@ 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: @@ -178,13 +162,11 @@ 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( @@ -192,7 +174,6 @@ 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() @@ -202,7 +183,6 @@ 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: @@ -214,13 +194,11 @@ 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( @@ -228,7 +206,6 @@ 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() @@ -238,7 +215,6 @@ 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: